Do not use openstack.common.i18n in glance client

i18n library is present in openstack.common but we also have
glanceclient module that supports the same functionality.
In order to be consistent and exclude dependencies on
oslo-incubator code we need to use glanceclient.i18n module only.

Change-Id: Iae9722d7903034bfa6fb8afadbb1f1292c29203e
This commit is contained in:
kairat_kushaev 2015-09-23 19:02:13 +03:00
parent a98ed22091
commit df0f6642e5
4 changed files with 4 additions and 4 deletions

View File

@ -44,7 +44,7 @@ from oslo_utils import strutils
import six
from six.moves.urllib import parse
from glanceclient.openstack.common._i18n import _
from glanceclient._i18n import _
from glanceclient.openstack.common.apiclient import exceptions

View File

@ -38,7 +38,7 @@ from oslo_utils import encodeutils
from oslo_utils import importutils
import requests
from glanceclient.openstack.common._i18n import _
from glanceclient._i18n import _
from glanceclient.openstack.common.apiclient import exceptions
_logger = logging.getLogger(__name__)

View File

@ -38,7 +38,7 @@ import sys
import six
from glanceclient.openstack.common._i18n import _
from glanceclient._i18n import _
class ClientException(Exception):

View File

@ -28,7 +28,7 @@ from oslo_utils import encodeutils
from oslo_utils import uuidutils
import six
from glanceclient.openstack.common._i18n import _
from glanceclient._i18n import _
from glanceclient.openstack.common.apiclient import exceptions