From 381edcf49d59d3a0fd5bbcbf1c7329e3578ac39e Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 13 Nov 2018 09:47:05 -0600 Subject: [PATCH] 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 (cherry picked from commit 4b0f5876d6a10e599246f7b6d8c1b3c49aa4afb0) --- cinderclient/shell.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cinderclient/shell.py b/cinderclient/shell.py index 841748a3f..b648fbce0 100644 --- a/cinderclient/shell.py +++ b/cinderclient/shell.py @@ -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'