summaryrefslogtreecommitdiffstats
path: root/openstack/common
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2013-08-15 21:12:03 +0000
committerGerrit Code Review <review@openstack.org>2013-08-15 21:12:03 +0000
commit14ba138863d28b083e40fb7b361f686787b9278b (patch)
tree578a0c5946c039e141e840aaff442c95f3a533e0 /openstack/common
parentd55b1c5fb4890c759f8868f58c36d3a485649e1e (diff)
parent64bb5e2f59ea2f37b3f5ab19b792bf36ce342a2f (diff)
downloadoslo-14ba138863d28b083e40fb7b361f686787b9278b.tar.gz
oslo-14ba138863d28b083e40fb7b361f686787b9278b.tar.xz
oslo-14ba138863d28b083e40fb7b361f686787b9278b.zip
Merge "Fix wrong argument in openstack common policy"
Diffstat (limited to 'openstack/common')
-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 3a3c63f..ffb8668 100644
--- a/openstack/common/policy.py
+++ b/openstack/common/policy.py
@@ -221,7 +221,7 @@ class Enforcer(object):
if policy_file:
return policy_file
- raise cfg.ConfigFilesNotFoundError(path=CONF.policy_file)
+ raise cfg.ConfigFilesNotFoundError((CONF.policy_file,))
def enforce(self, rule, target, creds, do_raise=False,
exc=None, *args, **kwargs):