Merge "Remove duplicate code"

This commit is contained in:
Jenkins 2017-09-11 19:06:44 +00:00 committed by Gerrit Code Review
commit 20a745f462
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 '