summaryrefslogtreecommitdiffstats
path: root/openstack
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-07-23 00:07:15 +0000
committerGerrit Code Review <review@openstack.org>2013-07-23 00:07:15 +0000
commit981f7efb27e36c33804aabd6688183b79b836e15 (patch)
tree53105385f8988778791364afbbe8a2deb59a6598 /openstack
parent2efe344683fc34ec458b70f79a0f5dd71d1e1dbe (diff)
parent7bf8ee930b1838a1b1640912df0e2050bd9b96ae (diff)
Merge "Allow use of hacking 0.6.0 and enable new checks"
Diffstat (limited to 'openstack')
-rw-r--r--openstack/common/policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack/common/policy.py b/openstack/common/policy.py
index 5705d78..00531e5 100644
--- a/openstack/common/policy.py
+++ b/openstack/common/policy.py
@@ -750,7 +750,7 @@ def _parse_text_rule(rule):
return state.result
except ValueError:
# Couldn't parse the rule
- LOG.exception(_("Failed to understand rule %(rule)r") % locals())
+ LOG.exception(_("Failed to understand rule %r") % rule)
# Fail closed
return FalseCheck()