summaryrefslogtreecommitdiff
path: root/httpd
diff options
context:
space:
mode:
authorMatt Odden <mrodden@us.ibm.com>2013-10-01 08:52:15 +0000
committerMatt Odden <mrodden@us.ibm.com>2013-10-03 12:23:24 +0000
commitc3b92295b718a41c3136876eb39297081015a97c (patch)
tree81210fd592bbf6475714fa136f2c454557e7c3c6 /httpd
parent1d9133447c72599768c435d7a2cab5eaba497c35 (diff)
downloadkeystone-c3b92295b718a41c3136876eb39297081015a97c.tar.gz
Disable lazy gettext
This change disables lazy gettext functionality in Keystone, due to problems with character encoding and logging detailed in bug 1225099. It is part of a series of commits across all projects with lazy gettext enabled. Change-Id: Ia934a7df9386baf6ae8eb9ff48c24386c47ecd23 Partial-bug: 1225099
Diffstat (limited to 'httpd')
-rw-r--r--httpd/keystone.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/httpd/keystone.py b/httpd/keystone.py
index 50ae07ea5..aa057136c 100644
--- a/httpd/keystone.py
+++ b/httpd/keystone.py
@@ -24,11 +24,7 @@ from keystone.openstack.common import gettextutils
# NOTE(blk-u):
# gettextutils.install() must run to set _ before importing any modules that
# contain static translated strings.
-#
-# Configure gettextutils for deferred translation of messages
-# so that error messages in responses can be translated according to the
-# Accept-Language in the request rather than the Keystone server locale.
-gettextutils.install('keystone', lazy=True)
+gettextutils.install('keystone')
from keystone.common import environment
from keystone import config