Remove i18n.enable_lazy() translation

Per [1], don't.

[1] http://lists.openstack.org/pipermail/openstack-dev/2018-November/136289.html

Change-Id: I4a1e8cf84a88e5bd301d1baba41b064cde336f38
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis
2018-11-13 09:47:05 -06:00
parent bfcda5000e
commit 4b0f5876d6

View File

@@ -39,7 +39,6 @@ import six
import six.moves.urllib.parse as urlparse
import cinderclient
from cinderclient import _i18n
from cinderclient._i18n import _
from cinderclient import api_versions
from cinderclient import client
@@ -47,10 +46,6 @@ from cinderclient import exceptions as exc
from cinderclient import utils
# Enable i18n lazy translation
_i18n.enable_lazy()
DEFAULT_CINDER_ENDPOINT_TYPE = 'publicURL'
V1_SHELL = 'cinderclient.v1.shell'
V2_SHELL = 'cinderclient.v2.shell'