Organize imports in correct order

Organize imports in the way described in [1]

[1]: http://docs.openstack.org/developer/hacking/#imports

Change-Id: I53c1f7fa7271aaa953b72142f5cca8162aa06ff0
Partially-Bug: 1472597
This commit is contained in:
Nikolay Starodubtsev 2015-07-08 16:05:55 +03:00
parent ed6c26c8ca
commit d8579828a7
6 changed files with 6 additions and 8 deletions

View File

@ -15,13 +15,13 @@
import json
import cfg
import glanceclient
from murano.common import config
import murano.dsl.helpers as helpers
from murano.openstack.common import log as logging
import cfg
LOG = logging.getLogger(__name__)

View File

@ -15,11 +15,11 @@
# Based on designate/policy.py
from oslo_config import cfg
from oslo_policy import policy
from webob import exc as exceptions
from murano.common.i18n import _
import murano.openstack.common.log as logging
from oslo_policy import policy
LOG = logging.getLogger(__name__)

View File

@ -12,9 +12,8 @@
# License for the specific language governing permissions and limitations
# under the License.
import yaml
from keystoneclient import exceptions as ks_exceptions
import yaml
from murano.common import auth_utils
from murano.common import config

View File

@ -16,7 +16,6 @@ import re
import types
from oslo_utils import encodeutils
import yaql
import yaql.exceptions
import yaql.expressions

View File

@ -24,12 +24,12 @@ postgres=# create database openstack_citest with owner openstack_citest;
"""
import datetime
import sqlalchemy
import uuid
from oslo_db import exception as db_exc
from oslo_db.sqlalchemy import test_base
from oslo_db.sqlalchemy import utils as db_utils
import sqlalchemy
from murano.db.migration import migration
from murano.tests.unit.db.migration import test_migrations_base as base

View File

@ -12,9 +12,9 @@
# License for the specific language governing permissions and limitations
# under the License.
import mock
import os
import mock
import yaml as yamllib
from murano.dsl import murano_class