Merge "Make returning is_domain conditional" into stable/newton

This commit is contained in:
Jenkins 2016-10-05 08:08:59 +00:00 committed by Gerrit Code Review
commit 339e7cc798

View File

@ -210,7 +210,8 @@ class KeystoneToken(dict):
@property
def is_domain(self):
if self.version is V3:
return self['is_domain']
if 'is_domain' in self:
return self['is_domain']
return False
@property