diff options
| author | Vishvananda Ishaya <vishvananda@yahoo.com> | 2010-06-24 04:11:55 +0100 |
|---|---|---|
| committer | andy <github@anarkystic.com> | 2010-06-24 04:11:55 +0100 |
| commit | 9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e (patch) | |
| tree | a05755001e7a7d65bd203434f58ed2ba18927cb9 | |
| parent | 316435cce05c5506972d70f5894b0ea67880d3b6 (diff) | |
| download | nova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.tar.gz nova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.tar.xz nova-9526e1b3f14a7d9b8b2dcf7012e099a13e6fc80e.zip | |
one more handler typo
| -rw-r--r-- | nova/objectstore/handler.py | 2 |
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() |
