Skip to content

Commit e7ed403

Browse files
author
Dean Troyer
committed
Finish osc-lib transition for command.py
https://review.openstack.org/#/c/328318/ was the transition of openstackclient/common/command.py to osc-lib but it was incomplete; https://review.openstack.org/#/c/329885/ started to fix it but was also incomplete. Third time is charm? Change-Id: Ib6c0266155c2155ae59067ce7b15bebca1e375e8
1 parent 114eeeb commit e7ed403

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

openstackclient/common/command.py

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

1818
import sys
1919

20-
from osc_lib.command import * # noqa
20+
from osc_lib.command.command import * # noqa
2121

2222

2323
sys.stderr.write(
2424
"WARNING: %s is deprecated and will be removed after Jun 2017. "
25-
"Please use osc_lib.command\n" % __name__
25+
"Please use osc_lib.command.command\n" % __name__
2626
)

openstackclient/tests/common/test_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
import mock
1616

17-
from osc_lib.command import command
1817
from osc_lib import exceptions
1918

19+
from openstackclient.common import command
2020
from openstackclient.tests import fakes as test_fakes
2121
from openstackclient.tests import utils as test_utils
2222

0 commit comments

Comments
 (0)