summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-11-21 16:54:54 +0000
committerGerrit Code Review <review@openstack.org>2012-11-21 16:54:54 +0000
commitb710bb15d2ea9ef0a5bc5af5b127e46f9c7eff22 (patch)
treed7b89b6cb85bd85920377012d2ed2b9c315588e3 /nova/api
parente8c5d1f536a7edf51985b72d4cde4deb87813a69 (diff)
parent296403319182a62c737363872f9e57d56bc2669d (diff)
Merge "Wrap log messages with _()"
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/ec2/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py
index 28b946a8b..22771b589 100644
--- a/nova/api/ec2/__init__.py
+++ b/nova/api/ec2/__init__.py
@@ -256,7 +256,7 @@ class EC2KeystoneAuth(wsgi.Middleware):
roles = [role['name'] for role
in result['access']['user']['roles']]
except (AttributeError, KeyError), e:
- LOG.exception("Keystone failure: %s" % e)
+ LOG.exception(_("Keystone failure: %s") % e)
msg = _("Failure communicating with keystone")
return ec2_error(req, request_id, "Unauthorized", msg)