summaryrefslogtreecommitdiff
path: root/keystoneclient/service_catalog.py
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-10-16 23:44:20 +0000
committerGerrit Code Review <review@openstack.org>2013-10-16 23:44:20 +0000
commit876c2d6c2a72a0b46b2fe19c9006f857fdbd6e7d (patch)
tree10946e312e05a8225f63b87671c7d0d4eb8bd056 /keystoneclient/service_catalog.py
parent7615226511913ccbafc8106d37fca7b6999f9f24 (diff)
parent3027e890362e99f51be16fd59478a55771fcf2e5 (diff)
downloadpython-keystoneclient-876c2d6c2a72a0b46b2fe19c9006f857fdbd6e7d.tar.gz
Merge "python3: Refactor dict for python2/python3 compat"
Diffstat (limited to 'keystoneclient/service_catalog.py')
-rw-r--r--keystoneclient/service_catalog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystoneclient/service_catalog.py b/keystoneclient/service_catalog.py
index 8166a02..f58a17c 100644
--- a/keystoneclient/service_catalog.py
+++ b/keystoneclient/service_catalog.py
@@ -141,7 +141,7 @@ class ServiceCatalogV2(ServiceCatalog):
continue
sc[service['type']] = []
for endpoint in service['endpoints']:
- if endpoint_type and endpoint_type not in endpoint.keys():
+ if endpoint_type and endpoint_type not in endpoint:
continue
sc[service['type']].append(endpoint)
return sc