summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjunboli <junbo85.li@gmail.com>2017-06-19 17:46:29 +0800
committerjunboli <junbo85.li@gmail.com>2017-06-19 17:46:29 +0800
commitbfdd36a57236b021c4fe436d582cdbbd6588c165 (patch)
treed9efe326db288d765034d3b89cef684a6dd6b39d
parent1fa43b8f79e4cbb8781d3a87d854f9f871bef579 (diff)
Add enable_lazy in api/openstack/wsgi.py
Add i18n.enable_lazy() in cinder/api/openstack/wsgi.py Change-Id: Ib246f7186c3fe38c52d69e49afd92d35db755473
Notes
Notes (review): Code-Review+2: Ivan Kolodyazhny <e0ne@e0ne.info> Code-Review+2: Sean McGinnis <sean.mcginnis@gmail.com> Workflow+1: Sean McGinnis <sean.mcginnis@gmail.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 19 Jun 2017 13:56:42 +0000 Reviewed-on: https://review.openstack.org/475311 Project: openstack/cinder Branch: refs/heads/master
-rw-r--r--cinder/api/openstack/wsgi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/cinder/api/openstack/wsgi.py b/cinder/api/openstack/wsgi.py
index 1903cfe..eeb9df1 100644
--- a/cinder/api/openstack/wsgi.py
+++ b/cinder/api/openstack/wsgi.py
@@ -32,7 +32,10 @@ import webob.exc
32from cinder.api.openstack import api_version_request as api_version 32from cinder.api.openstack import api_version_request as api_version
33from cinder.api.openstack import versioned_method 33from cinder.api.openstack import versioned_method
34from cinder import exception 34from cinder import exception
35
35from cinder import i18n 36from cinder import i18n
37i18n.enable_lazy()
38
36from cinder.i18n import _ 39from cinder.i18n import _
37from cinder import policy 40from cinder import policy
38from cinder import utils 41from cinder import utils