summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstackclient/common/command.py4
-rw-r--r--openstackclient/tests/common/test_command.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/common/command.py b/openstackclient/common/command.py
index 9abaae0b..29c1534d 100644
--- a/openstackclient/common/command.py
+++ b/openstackclient/common/command.py
@@ -17,10 +17,10 @@
import sys
-from osc_lib.command import * # noqa
+from osc_lib.command.command import * # noqa
sys.stderr.write(
"WARNING: %s is deprecated and will be removed after Jun 2017. "
- "Please use osc_lib.command\n" % __name__
+ "Please use osc_lib.command.command\n" % __name__
)
diff --git a/openstackclient/tests/common/test_command.py b/openstackclient/tests/common/test_command.py
index a8bcf6a8..658bc895 100644
--- a/openstackclient/tests/common/test_command.py
+++ b/openstackclient/tests/common/test_command.py
@@ -14,9 +14,9 @@
import mock
-from osc_lib.command import command
from osc_lib import exceptions
+from openstackclient.common import command
from openstackclient.tests import fakes as test_fakes
from openstackclient.tests import utils as test_utils