Merge "Make returning is_domain conditional" into stable/newton
This commit is contained in:
commit
339e7cc798
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user