From f423429fcf1dcbb09833df0ef21549d6d301a56f Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 6 Mar 2013 10:07:05 -0500 Subject: cleanup trusts in controllers Change-Id: I1eff618d1e6cef2eb10ae7e737b0ca0beaca1d4d --- keystone/auth/controllers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'keystone') 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): -- cgit