Adjust import order according to PEP8 imports rule
This patch just adjust import order to follow PEP8 imports rule. See http://www.python.org/dev/peps/pep-0008/#imports Imports should be grouped in the following order: 1) Standard library imports 2) Related third party imports 3) Local application/library specific imports Change-Id: Ifb56bbe6ba1ed7682c3326d6429fb34d268e7ea4
This commit is contained in:
parent
9588aeeb22
commit
822e568921
@ -14,9 +14,9 @@
|
||||
# limitations under the License.
|
||||
|
||||
import datetime
|
||||
import eventlet
|
||||
import six
|
||||
|
||||
import eventlet
|
||||
from oslo.config import cfg
|
||||
from stevedore import enabled
|
||||
|
||||
|
@ -13,10 +13,11 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from climate.openstack.common import log
|
||||
from oslo.config import cfg
|
||||
from oslo import messaging
|
||||
|
||||
from climate.openstack.common import log
|
||||
|
||||
notification_opts = [
|
||||
cfg.StrOpt('publisher_id',
|
||||
default="climate.lease",
|
||||
|
@ -14,6 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import eventlet
|
||||
from novaclient import exceptions as nova_exceptions
|
||||
from oslo.config import cfg
|
||||
|
||||
from climate import exceptions as climate_exceptions
|
||||
@ -21,7 +22,6 @@ from climate.openstack.common import log as logging
|
||||
from climate.plugins import base
|
||||
from climate.plugins import instances as plugin
|
||||
from climate.utils.openstack import nova
|
||||
from novaclient import exceptions as nova_exceptions
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
@ -22,7 +22,6 @@ import uuid
|
||||
from oslo.config import cfg
|
||||
|
||||
from climate import context
|
||||
|
||||
from climate.db import api as db_api
|
||||
from climate.db import exceptions as db_ex
|
||||
from climate.db import utils as db_utils
|
||||
|
@ -13,9 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from novaclient import exceptions as nova_exceptions
|
||||
from oslo.config import cfg
|
||||
|
||||
from climate import context
|
||||
from climate.manager import exceptions as manager_exceptions
|
||||
|
@ -16,6 +16,7 @@
|
||||
"""Policy Engine For Climate."""
|
||||
|
||||
import functools
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
from climate import context
|
||||
|
Loading…
Reference in New Issue
Block a user