diff options
author | ZhijunWei <wzj334965317@outlook.com> | 2018-12-28 23:03:56 +0800 |
---|---|---|
committer | ZhijunWei <wzj334965317@outlook.com> | 2019-01-04 00:46:27 +0800 |
commit | 3f6f14d4fe8231c72756e88c1dd1a6fa34c1d724 (patch) | |
tree | 61f1b37ed223470e6680d6604355860a4576f58a /keystoneclient | |
parent | a69e14e3fc6e478725f39bbccf7621cc8852bd4c (diff) | |
download | python-keystoneclient-3f6f14d4fe8231c72756e88c1dd1a6fa34c1d724.tar.gz |
Update hacking version
1. update hacking version to latest
2. fix pep8 failed
Change-Id: Iecc112206633a7e771c5e45547c573d74cce6f67
Diffstat (limited to 'keystoneclient')
-rw-r--r-- | keystoneclient/access.py | 6 |
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 |