summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishvananda Ishaya <vishvananda@yahoo.com>2010-06-24 04:11:55 +0100
committerandy <github@anarkystic.com>2010-06-24 04:11:55 +0100
commit9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e (patch)
treea05755001e7a7d65bd203434f58ed2ba18927cb9
parent316435cce05c5506972d70f5894b0ea67880d3b6 (diff)
downloadnova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.tar.gz
nova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.tar.xz
nova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.zip
one more handler typo
-rw-r--r--nova/objectstore/handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/objectstore/handler.py b/nova/objectstore/handler.py
index 199df226a..97c4eeb36 100644
--- a/nova/objectstore/handler.py
+++ b/nova/objectstore/handler.py
@@ -307,7 +307,7 @@ class ImageHandler(BaseRequestHandler):
image_id = self.get_argument("image_id", u"")
image_object = image.Image(image_id)
- if not image.is_authorized(self.context):
+ if not image_object.is_authorized(self.context):
raise web.HTTPError(403)
image_object.delete()