summaryrefslogtreecommitdiffstats
path: root/keystone
diff options
context:
space:
mode:
authorSam Morrison <sorrison@gmail.com>2012-05-07 09:09:57 +1000
committerSam Morrison <sorrison@gmail.com>2012-05-07 09:09:57 +1000
commitc2255edb72db14e8dd5ff12fb61219793d425cbc (patch)
treecd3f75d4211ba64faef2326cd218a98a9699468d /keystone
parenta1c2dd19633dfe7d792bfec524104bcf683a5d77 (diff)
Corrects url conversion in export_legacy_catalog
Fixes bug 994936 Change-Id: Ia63fdae7d0bcd7f8b0b587da588404765e22fb8f
Diffstat (limited to 'keystone')
-rw-r--r--keystone/common/sql/legacy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/common/sql/legacy.py b/keystone/common/sql/legacy.py
index ca19ccb6..55e27b30 100644
--- a/keystone/common/sql/legacy.py
+++ b/keystone/common/sql/legacy.py
@@ -77,7 +77,7 @@ class LegacyMigration(object):
'region': row['region']}
for x in ['internal_url', 'public_url', 'admin_url', 'enabled']:
- d['key'] = x.replace('_u', 'U')
+ d['key'] = x.replace('_url', 'URL')
d['value'] = _translate_replacements(row[x])
o.append(template % d)