diff options
author | Gary Kotton <gkotton@vmware.com> | 2014-03-02 00:04:24 -0800 |
---|---|---|
committer | Gary Kotton <gkotton@vmware.com> | 2014-06-02 22:18:05 -0700 |
commit | b4ef81d6a018a3e6781bbfd5c9a2c73727645cc5 (patch) | |
tree | 461067a2f8c245eee7273cabda2bde0b529f8423 /nova/api/ec2 | |
parent | 5d7ac6a92853992eb4f6a68b70196bdd540a4c60 (diff) | |
download | nova-b4ef81d6a018a3e6781bbfd5c9a2c73727645cc5.tar.gz |
Add missing translation support
Update a number of files to add missing translation support.
The patch adds a new hacking check - N321. This ensures that
all log messages, except debug ones, have translations.
A '# noqa' indicates that the validation will not be done on
the specific log message. This should be used in cases where
the translations do not need to be done, for example, the log
message is logging raw data.
Closes-bug: #1290261
Change-Id: Ib2ca0bfaaf432e15448c96619682c2cfd073fbbc
Diffstat (limited to 'nova/api/ec2')
-rw-r--r-- | nova/api/ec2/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/ec2/__init__.py b/nova/api/ec2/__init__.py index 1c8de65e30..1dad7bf230 100644 --- a/nova/api/ec2/__init__.py +++ b/nova/api/ec2/__init__.py @@ -123,7 +123,7 @@ class RequestLogging(wsgi.Middleware): request.user_agent, request.content_type, response.content_type, - context=ctxt) + context=ctxt) # noqa class Lockout(wsgi.Middleware): |