diff --git a/saharaclient/openstack/common/_i18n.py b/saharaclient/openstack/common/_i18n.py index ff3f7ff5..5cc57a14 100644 --- a/saharaclient/openstack/common/_i18n.py +++ b/saharaclient/openstack/common/_i18n.py @@ -17,14 +17,14 @@ See http://docs.openstack.org/developer/oslo.i18n/usage.html """ try: - import oslo.i18n + import oslo_i18n # NOTE(dhellmann): This reference to o-s-l-o will be replaced by the # application name when this module is synced into the separate # repository. It is OK to have more than one translation function # using the same domain, since there will still only be one message # catalog. - _translators = oslo.i18n.TranslatorFactory(domain='saharaclient') + _translators = oslo_i18n.TranslatorFactory(domain='saharaclient') # The primary translation function using the well-known name "_" _ = _translators.primary diff --git a/saharaclient/openstack/common/cliutils.py b/saharaclient/openstack/common/cliutils.py index f90adcda..b17266d0 100644 --- a/saharaclient/openstack/common/cliutils.py +++ b/saharaclient/openstack/common/cliutils.py @@ -24,8 +24,8 @@ import os import sys import textwrap -from oslo.utils import encodeutils -from oslo.utils import strutils +from oslo_utils import encodeutils +from oslo_utils import strutils import prettytable import six from six import moves