summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-09-20 03:18:45 -0400
committerScott Moser <smoser@ubuntu.com>2011-09-20 03:18:45 -0400
commitb399ac7b6e80d16fddd61c9b2d505cff09cb8889 (patch)
tree9537e34ab54fad258c6276be72438732b1720b5c /nova
parent5428587ed2085abfd909834a890251cb4cfb372b (diff)
fix call to gettext
Diffstat (limited to 'nova')
-rw-r--r--nova/virt/images.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/virt/images.py b/nova/virt/images.py
index 573c8aecf..ea04377c5 100644
--- a/nova/virt/images.py
+++ b/nova/virt/images.py
@@ -78,8 +78,7 @@ def fetch_to_raw(context, image_href, path, _user_id, _project_id):
if "backing file" in data:
backing_file = data['backing file']
raise exception.ImageUnacceptable(image_id=image_href,
- reason=_("fmt=%(fmt)s backed by: %(backing_file)s" %
- locals()))
+ reason=_("fmt=%(fmt)s backed by: %(backing_file)s") % locals())
LOG.debug("%s was %s, converting to raw" % (image_href, fmt))
out, err = utils.execute('qemu-img', 'convert', '-O', 'raw',