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:
@@ -39,7 +39,6 @@ import six
|
|||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
import cinderclient
|
import cinderclient
|
||||||
from cinderclient import _i18n
|
|
||||||
from cinderclient._i18n import _
|
from cinderclient._i18n import _
|
||||||
from cinderclient import api_versions
|
from cinderclient import api_versions
|
||||||
from cinderclient import client
|
from cinderclient import client
|
||||||
@@ -47,10 +46,6 @@ from cinderclient import exceptions as exc
|
|||||||
from cinderclient import utils
|
from cinderclient import utils
|
||||||
|
|
||||||
|
|
||||||
# Enable i18n lazy translation
|
|
||||||
_i18n.enable_lazy()
|
|
||||||
|
|
||||||
|
|
||||||
DEFAULT_CINDER_ENDPOINT_TYPE = 'publicURL'
|
DEFAULT_CINDER_ENDPOINT_TYPE = 'publicURL'
|
||||||
V1_SHELL = 'cinderclient.v1.shell'
|
V1_SHELL = 'cinderclient.v1.shell'
|
||||||
V2_SHELL = 'cinderclient.v2.shell'
|
V2_SHELL = 'cinderclient.v2.shell'
|
||||||
|
Reference in New Issue
Block a user