summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorEldar Nugaev <enugaev@griddynamics.com>2011-04-18 17:31:29 +0400
committerEldar Nugaev <enugaev@griddynamics.com>2011-04-18 17:31:29 +0400
commita582afce13286160411a65d4b1b91e69f67ab430 (patch)
tree856ccd8573872053111e936d0084cc8c224dd132 /nova/api
parentc49c372ec3e94331eb8a16a0af7c9c9c5e46bba0 (diff)
Fix logging in openstack api
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/common.py b/nova/api/openstack/common.py
index 2ace9b3de..f3f7f6d9b 100644
--- a/nova/api/openstack/common.py
+++ b/nova/api/openstack/common.py
@@ -121,7 +121,7 @@ def get_image_id_from_image_hash(image_service, context, image_hash):
return image_id
except ValueError:
msg = _("Requested image_id has wrong format: %s,"
- "should have numerical format" % image_id)
+ "should have numerical format") % image_id
LOG.error(msg)
raise msg
raise exception.NotFound(image_hash)