summaryrefslogtreecommitdiff
path: root/cliff/show.py
diff options
context:
space:
mode:
authorCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-08-30 16:52:51 +0700
committerCao Xuan Hoang <hoangcx@vn.fujitsu.com>2016-09-20 13:33:04 +0700
commit0b1fc95247a4f46694a84ae5a8df4e94a5c5d5e0 (patch)
treebae9cd077e1525ae323d8e7071a87d070643cea9 /cliff/show.py
parent50d67088eabfde69db1d8d86d7f45f094611cf26 (diff)
downloadcliff-0b1fc95247a4f46694a84ae5a8df4e94a5c5d5e0.tar.gz
Clean imports in code
This patch set modifies lines which are importing objects instead of modules. As per openstack import guide lines, user should import modules in a file not objects. http://docs.openstack.org/developer/hacking/#imports Change-Id: Ief01c4915b385b3135ec000f949755ab0d4883dd
Diffstat (limited to 'cliff/show.py')
-rw-r--r--cliff/show.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cliff/show.py b/cliff/show.py
index 57e1e70..9d36eb3 100644
--- a/cliff/show.py
+++ b/cliff/show.py
@@ -4,11 +4,11 @@ import abc
import six
-from .display import DisplayCommandBase
+from . import display
@six.add_metaclass(abc.ABCMeta)
-class ShowOne(DisplayCommandBase):
+class ShowOne(display.DisplayCommandBase):
"""Command base class for displaying data about a single object.
"""