summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulien Danjou <julien@danjou.info>2012-10-05 14:40:02 +0200
committerJulien Danjou <julien@danjou.info>2012-10-05 14:40:31 +0200
commit80c282251dec5cbae7d7f9aac6cb95bd40f71638 (patch)
treef8bc0e61069bbbc00659012ead4a950df82103db
parent101093428dd33b1b1e3914156404e99f2dd7ba29 (diff)
Fix typo in policy docstring
Change-Id: I778d7dd74f05f0db1a1e61fc64619fba7fca4c28 Signed-off-by: Julien Danjou <julien@danjou.info>
-rw-r--r--nova/policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/policy.py b/nova/policy.py
index 16ff15b86..d7545b2ee 100644
--- a/nova/policy.py
+++ b/nova/policy.py
@@ -82,7 +82,7 @@ def enforce(context, action, target):
for object creation this should be a dictionary representing the
location of the object e.g. ``{'project_id': context.project_id}``
- :raises nova.exception.PolicyNotAllowed: if verification fails.
+ :raises nova.exception.PolicyNotAuthorized: if verification fails.
"""
init()