From 316435cce05c5506972d70f5894b0ea67880d3b6 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Thu, 24 Jun 2010 04:11:55 +0100 Subject: fix objectstore handler typo --- nova/objectstore/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/objectstore/handler.py b/nova/objectstore/handler.py index 3f00bb0c4..199df226a 100644 --- a/nova/objectstore/handler.py +++ b/nova/objectstore/handler.py @@ -294,7 +294,7 @@ class ImageHandler(BaseRequestHandler): 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.set_public(operation=='add') -- cgit