From 635fbcec0c82e6b28ed8022551af7b7bff93e29e Mon Sep 17 00:00:00 2001 From: chenjiao Date: Thu, 18 Jan 2018 16:59:47 +0800 Subject: [PATCH] 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 --- heat/cmd/all.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/heat/cmd/all.py b/heat/cmd/all.py index d5ea33f4ea..dd16b06cd1 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()