diff options
| author | Adam Young <ayoung@redhat.com> | 2013-03-08 13:19:39 -0500 |
|---|---|---|
| committer | Adam Young <ayoung@redhat.com> | 2013-03-08 21:20:53 -0500 |
| commit | ca76e8638c75b3274f8eee6842fe63dff61abb5e (patch) | |
| tree | f2356e1dc70a045951b2e42a9ad4490a3c220e56 | |
| parent | 756cd5a2972e076cdc9a119526e2038d0b838256 (diff) | |
| download | keystone-ca76e8638c75b3274f8eee6842fe63dff61abb5e.tar.gz keystone-ca76e8638c75b3274f8eee6842fe63dff61abb5e.tar.xz keystone-ca76e8638c75b3274f8eee6842fe63dff61abb5e.zip | |
remove spurious roles check
Change-Id: Ia4909478703d5fe9fb4fec7377c4030cf67eae7b
| -rw-r--r-- | keystone/identity/controllers.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/keystone/identity/controllers.py b/keystone/identity/controllers.py index 8a2e8dbe..c90f4955 100644 --- a/keystone/identity/controllers.py +++ b/keystone/identity/controllers.py @@ -339,8 +339,6 @@ class Role(controller.V2Controller): # a user also adds them to a tenant, so we must follow up on that self.identity_api.remove_role_from_user_and_project( context, user_id, tenant_id, role_id) - roles = self.identity_api.get_roles_for_user_and_project( - context, user_id, tenant_id) delete_tokens_for_user( context, self.token_api, self.trust_api, user_id) |
