Remove duplicate code

'self.token_id = token_id' occurs in line 46 and line 51

Change-Id: I1565b27fe8d659fdfb684af94b6bc8eb7b4fdb1b
This commit is contained in:
chenaidong1 2017-09-01 10:22:52 +08:00
parent e0a8780b63
commit a3c2eb1ff7
1 changed files with 0 additions and 1 deletions

View File

@ -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 '