Skip to content

Commit ffe976c

Browse files
committed
Use oslo.utils
Module `importutils` from common code was graduated to oslo.utils, so it would be great if we reuse this library. Remove unused strutils.py and gettextutils.py Change-Id: Iaae19fc5018d83103e5f15ff76d6da686bfdf5f8
1 parent ceae0be commit ffe976c

8 files changed

Lines changed: 3 additions & 884 deletions

File tree

‎openstack-common.conf‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
[DEFAULT]
22

33
# The list of modules to copy from openstack-common
4-
module=gettextutils
54
module=install_venv_common
6-
module=importutils
7-
module=strutils
85

96
# The base module to hold the copy of openstack.common
107
base=openstackclient

‎openstackclient/common/utils.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
import six
2222
import time
2323

24+
from oslo.utils import importutils
25+
2426
from openstackclient.common import exceptions
25-
from openstackclient.openstack.common import importutils
2627

2728

2829
def find_resource(manager, name_or_id):

‎openstackclient/openstack/__init__.py‎

Whitespace-only changes.

‎openstackclient/openstack/common/__init__.py‎

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)