summaryrefslogtreecommitdiff
path: root/keystoneclient/service_catalog.py
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2012-11-05 10:13:25 -0600
committerDolph Mathews <dolph.mathews@gmail.com>2012-11-05 10:13:48 -0600
commit5804b8bd5095d4d18f615f07b937bac158c2434b (patch)
tree3eaa803ff56bbd926fbfa1ba77111bf3cbf8539c /keystoneclient/service_catalog.py
parent026dc8ef1b17b1a3aa2f7bf52786a49e6de995b2 (diff)
downloadpython-keystoneclient-5804b8bd5095d4d18f615f07b937bac158c2434b.tar.gz
HACKING compliance: consistent usage of 'except'
Change-Id: I13988e94d7e20a9179874ec5be072bdb8db3a95e
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 cbe5c5d..11da572 100644
--- a/keystoneclient/service_catalog.py
+++ b/keystoneclient/service_catalog.py
@@ -42,7 +42,7 @@ class ServiceCatalog(object):
try:
token['user_id'] = self.catalog['user']['id']
token['tenant_id'] = self.catalog['token']['tenant']['id']
- except:
+ except Exception:
# just leave the tenant and user out if it doesn't exist
pass
return token