Merge "Remove i18n.enable_lazy() translation" into stable/stein
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