diff options
author | Adam Young <ayoung@redhat.com> | 2013-03-06 10:07:05 -0500 |
---|---|---|
committer | Adam Young <ayoung@redhat.com> | 2013-03-06 10:07:05 -0500 |
commit | f423429fcf1dcbb09833df0ef21549d6d301a56f (patch) | |
tree | c3a0314633cd4fd77980f3f3f3aa90f13e549111 /keystone | |
parent | 1f7c863a9ce3df695fbc98c3a53f0e6b4d172e4d (diff) | |
download | keystone-f423429fcf1dcbb09833df0ef21549d6d301a56f.tar.gz keystone-f423429fcf1dcbb09833df0ef21549d6d301a56f.tar.xz keystone-f423429fcf1dcbb09833df0ef21549d6d301a56f.zip |
cleanup trusts in controllers
Change-Id: I1eff618d1e6cef2eb10ae7e737b0ca0beaca1d4d
Diffstat (limited to 'keystone')
-rw-r--r-- | keystone/auth/controllers.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keystone/auth/controllers.py b/keystone/auth/controllers.py index 96f3dc0c..779b996b 100644 --- a/keystone/auth/controllers.py +++ b/keystone/auth/controllers.py @@ -71,7 +71,7 @@ class AuthInfo(object): # self._scope_data is (domain_id, project_id, trust_ref) # project scope: (None, project_id, None) # domain scope: (domain_id, None, None) - # trust scope: (None, None, trust_id) + # trust scope: (None, None, trust_ref) # unscoped: (None, None, None) self._validate_and_normalize_auth_data() @@ -146,7 +146,7 @@ class AuthInfo(object): target='trust') trust = self.trust_api.get_trust(self.context, trust_id) if not trust: - raise exception.TrustNotFound(trust_id) + raise exception.TrustNotFound(trust_id=trust_id) return trust def lookup_user(self, user_info): |