diff options
author | chenjiao <chenjiao@inspur.com> | 2018-01-18 16:59:47 +0800 |
---|---|---|
committer | chenjiao <chenjiao@inspur.com> | 2018-01-18 17:01:38 +0800 |
commit | 635fbcec0c82e6b28ed8022551af7b7bff93e29e (patch) | |
tree | bb927388c57bbcedc4abaca6aaea5d7eebc72793 /heat/cmd | |
parent | 35f6863fa652db348aeda45dd2716eb734412725 (diff) | |
download | heat-635fbcec0c82e6b28ed8022551af7b7bff93e29e.tar.gz |
change import order
Alphabetically order your imports by the full module path.
Organize your imports according to the Import order template and
Real-world Import Order Examples below.
{{stdlib imports in human alphabetical order}}
\n
{{third-party lib imports in human alphabetical order}}
\n
{{project imports in human alphabetical order}}
\n
{{begin your code}}
Change-Id: Ie3a9f1dd36272f5512f719f4db8a219015c99fec
Diffstat (limited to 'heat/cmd')
-rw-r--r-- | heat/cmd/all.py | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/heat/cmd/all.py b/heat/cmd/all.py index d5ea33f4e..dd16b06cd 100644 --- a/heat/cmd/all.py +++ b/heat/cmd/all.py @@ -19,10 +19,14 @@ An OpenStack Heat server that can run all services. import eventlet eventlet.monkey_patch(os=False) -import six - import sys +from oslo_config import cfg +import oslo_i18n as i18n +from oslo_log import log as logging +from oslo_service import systemd +import six + from heat.cmd import api from heat.cmd import api_cfn from heat.cmd import api_cloudwatch @@ -30,10 +34,7 @@ from heat.cmd import engine from heat.common import config from heat.common import messaging from heat import version -from oslo_config import cfg -import oslo_i18n as i18n -from oslo_log import log as logging -from oslo_service import systemd + i18n.enable_lazy() |