summaryrefslogtreecommitdiffstats
path: root/keystone/trust
diff options
context:
space:
mode:
authorBrant Knudson <bknudson@us.ibm.com>2013-04-08 20:23:40 -0500
committerBrant Knudson <bknudson@us.ibm.com>2013-04-08 20:23:40 -0500
commit97d5624fec3e26750932a839f4a5e973e86e899f (patch)
tree47bee3cd5b2697cfbd591b75d1362720bcfb87e8 /keystone/trust
parent89d35004411e1eec9b1af97f589f06ae871aca02 (diff)
downloadkeystone-97d5624fec3e26750932a839f4a5e973e86e899f.tar.gz
keystone-97d5624fec3e26750932a839f4a5e973e86e899f.tar.xz
keystone-97d5624fec3e26750932a839f4a5e973e86e899f.zip
fix undefined variable
An undefined variable was used in the trust kvs backend, this fixes it. Change-Id: I9c25d85ab64afa2bf7639d3fd14a4d6839dacb64
Diffstat (limited to 'keystone/trust')
-rw-r--r--keystone/trust/backends/kvs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/trust/backends/kvs.py b/keystone/trust/backends/kvs.py
index 75be2b7a..c0e9bdad 100644
--- a/keystone/trust/backends/kvs.py
+++ b/keystone/trust/backends/kvs.py
@@ -69,7 +69,7 @@ class Trust(kvs.Base, trust.Driver):
try:
ref = self.db.get('trust-%s' % trust_id)
except exception.NotFound:
- raise exception.TrustNotFound(token_id=token_id)
+ raise exception.TrustNotFound(trust_id=trust_id)
ref['deleted'] = True
self.db.set('trust-%s' % trust_id, ref)