Add enable_lazy in api/openstack/wsgi.py
Add i18n.enable_lazy() in cinder/api/openstack/wsgi.py Change-Id: Ib246f7186c3fe38c52d69e49afd92d35db755473
This commit is contained in:
parent
1fa43b8f79
commit
bfdd36a572
@ -32,7 +32,10 @@ import webob.exc
|
||||
from cinder.api.openstack import api_version_request as api_version
|
||||
from cinder.api.openstack import versioned_method
|
||||
from cinder import exception
|
||||
|
||||
from cinder import i18n
|
||||
i18n.enable_lazy()
|
||||
|
||||
from cinder.i18n import _
|
||||
from cinder import policy
|
||||
from cinder import utils
|
||||
|
Loading…
x
Reference in New Issue
Block a user