Merge "Enable lazy translations in httpd/keystone.py"

This commit is contained in:
Jenkins 2014-03-26 18:30:41 +00:00 committed by Gerrit Code Review
commit d99e34d0d0
1 changed files with 7 additions and 0 deletions

View File

@ -17,6 +17,13 @@ import os
from paste import deploy
from keystone.openstack.common import gettextutils
# NOTE(dstanek): gettextutils.enable_lazy() must be called before
# gettextutils._() is called to ensure it has the desired lazy lookup
# behavior. This includes cases, like keystone.exceptions, where
# gettextutils._() is called at import time.
gettextutils.enable_lazy()
from keystone.common import dependency
from keystone.common import environment
from keystone.common import sql