summaryrefslogtreecommitdiff
path: root/openstackclient/common/utils.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-03-14 14:51:57 +0000
committerGerrit Code Review <review@openstack.org>2016-03-14 14:51:57 +0000
commit7449dae40a0391ea85d037703ff58e941afd7f8a (patch)
treec57cb6cc4a63315ac5f8f3593dabc689acef1047 /openstackclient/common/utils.py
parent6abed7a471c5df3da1f455d84c50ab425448336c (diff)
parentdc7e4fc15d80eed5a814f0b87e1860f0cd86c2ee (diff)
downloadpython-openstackclient-7449dae40a0391ea85d037703ff58e941afd7f8a.tar.gz
Merge "Fix dict.keys() compatibility for python 3"
Diffstat (limited to 'openstackclient/common/utils.py')
-rw-r--r--openstackclient/common/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstackclient/common/utils.py b/openstackclient/common/utils.py
index 840da402..c6ed6a71 100644
--- a/openstackclient/common/utils.py
+++ b/openstackclient/common/utils.py
@@ -281,7 +281,7 @@ def get_client_class(api_name, version, version_map):
client_path = version_map[str(version)]
except (KeyError, ValueError):
msg = "Invalid %s client version '%s'. must be one of: %s" % (
- (api_name, version, ', '.join(version_map.keys())))
+ (api_name, version, ', '.join(list(version_map.keys()))))
raise exceptions.UnsupportedVersion(msg)
return importutils.import_class(client_path)