Merge "Enable lazy translations in httpd/keystone.py"
This commit is contained in:
commit
d99e34d0d0
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue