Merge "Migrate away from oslo_i18n.enable_lazy()"
This commit is contained in:
commit
a15f87cacc
@ -15,10 +15,3 @@
|
|||||||
|
|
||||||
from sahara_plugin_mapr.utils import patches
|
from sahara_plugin_mapr.utils import patches
|
||||||
patches.patch_all()
|
patches.patch_all()
|
||||||
|
|
||||||
import oslo_i18n
|
|
||||||
|
|
||||||
# NOTE(slukjanov): i18n.enable_lazy() must be called before
|
|
||||||
# sahara.utils.i18n._() is called to ensure it has the desired
|
|
||||||
# lazy lookup behavior.
|
|
||||||
oslo_i18n.enable_lazy()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user