summaryrefslogtreecommitdiff
path: root/keystoneclient
diff options
context:
space:
mode:
Diffstat (limited to 'keystoneclient')
-rw-r--r--keystoneclient/access.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/keystoneclient/access.py b/keystoneclient/access.py
index f8174f6..a93da0a 100644
--- a/keystoneclient/access.py
+++ b/keystoneclient/access.py
@@ -554,9 +554,9 @@ class AccessInfoV2(AccessInfo):
'scoped is deprecated as of the 1.7.0 release in favor of '
'project_scoped and may be removed in the 2.0.0 release.',
DeprecationWarning)
- if ('serviceCatalog' in self
- and self['serviceCatalog']
- and 'tenant' in self['token']):
+ if ('serviceCatalog' in self and
+ self['serviceCatalog'] and
+ 'tenant' in self['token']):
return True
return False