Skip to content

Commit 7ba8aa3

Browse files
Jenkinsopenstack-gerrit
Jenkins
authored andcommitted
Merge "Drop use of 'oslo' namespace package"
2 parents b091689 + 1212640 commit 7ba8aa3

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
lines changed

ceilometerclient/common/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import textwrap
2020
import uuid
2121

22-
from oslo.serialization import jsonutils
22+
from oslo_serialization import jsonutils
2323
from oslo_utils import encodeutils
2424
from oslo_utils import importutils
2525
import prettytable

ceilometerclient/openstack/common/_i18n.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
"""
1818

1919
try:
20-
import oslo.i18n
20+
import oslo_i18n
2121

2222
# NOTE(dhellmann): This reference to o-s-l-o will be replaced by the
2323
# application name when this module is synced into the separate
2424
# repository. It is OK to have more than one translation function
2525
# using the same domain, since there will still only be one message
2626
# catalog.
27-
_translators = oslo.i18n.TranslatorFactory(domain='ceilometerclient')
27+
_translators = oslo_i18n.TranslatorFactory(domain='ceilometerclient')
2828

2929
# The primary translation function using the well-known name "_"
3030
_ = _translators.primary

ceilometerclient/openstack/common/apiclient/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
import abc
4141
import copy
4242

43-
from oslo.utils import strutils
43+
from oslo_utils import strutils
4444
import six
4545
from six.moves.urllib import parse
4646

ceilometerclient/openstack/common/apiclient/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
except ImportError:
3535
import json
3636

37-
from oslo.utils import encodeutils
38-
from oslo.utils import importutils
37+
from oslo_utils import encodeutils
38+
from oslo_utils import importutils
3939
import requests
4040

4141
from ceilometerclient.openstack.common._i18n import _

ceilometerclient/openstack/common/apiclient/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#
2525
########################################################################
2626

27-
from oslo.utils import encodeutils
27+
from oslo_utils import encodeutils
2828
import six
2929

3030
from ceilometerclient.openstack.common._i18n import _

ceilometerclient/openstack/common/cliutils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import sys
2525
import textwrap
2626

27-
from oslo.utils import encodeutils
28-
from oslo.utils import strutils
27+
from oslo_utils import encodeutils
28+
from oslo_utils import strutils
2929
import prettytable
3030
import six
3131
from six import moves

ceilometerclient/v2/shell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import functools
2323
import json
2424

25-
from oslo.serialization import jsonutils
25+
from oslo_serialization import jsonutils
2626
from oslo_utils import strutils
2727
import six
2828

0 commit comments

Comments
 (0)