Remove duplicate code
'self.token_id = token_id' occurs in line 46 and line 51 Change-Id: I1565b27fe8d659fdfb684af94b6bc8eb7b4fdb1b
This commit is contained in:
parent
e0a8780b63
commit
a3c2eb1ff7
|
@ -48,7 +48,6 @@ class KeystoneToken(dict):
|
|||
super(KeystoneToken, self).__init__(**token_data['token'])
|
||||
except KeyError:
|
||||
raise exception.UnsupportedTokenVersionException()
|
||||
self.token_id = token_id
|
||||
|
||||
if self.project_scoped and self.domain_scoped:
|
||||
raise exception.UnexpectedError(_('Found invalid token: scoped to '
|
||||
|
|
Loading…
Reference in New Issue