Try please flake8 for imports grouping

Flake8 is now complaining about the grouping of imports. This patch try
please it by moving imports around.

Change-Id: I65a0ee03d8fcc78de597d06424f647e0a2d2beae
This commit is contained in:
tengqm 2015-05-15 03:32:10 -04:00
parent 48a474327a
commit bf4f39564d
6 changed files with 13 additions and 13 deletions

View File

@ -10,11 +10,11 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import six
from openstack import exceptions as sdkexc from openstack import exceptions as sdkexc
from oslo_serialization import jsonutils from oslo_serialization import jsonutils
from requests import exceptions as reqexc from requests import exceptions as reqexc
import six
from senlinclient.common.i18n import _ from senlinclient.common.i18n import _

View File

@ -11,15 +11,15 @@
# under the License. # under the License.
import argparse import argparse
import os
from six.moves.urllib import parse as url_parse
from openstack import connection from openstack import connection
from openstack import exceptions from openstack import exceptions
from openstack import resource as base from openstack import resource as base
from openstack import user_preference from openstack import user_preference
from openstack import utils from openstack import utils
import os
from six.moves.urllib import parse as url_parse
from senlinclient.common import exc from senlinclient.common import exc
# Alias here for consistency # Alias here for consistency

View File

@ -13,14 +13,14 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
from heatclient.common import template_utils
from oslo_serialization import jsonutils
from oslo_utils import importutils
import prettytable import prettytable
import six import six
import yaml import yaml
from oslo_serialization import jsonutils
from oslo_utils import importutils
from heatclient.common import template_utils
from senlinclient.common import exc from senlinclient.common import exc
from senlinclient.common.i18n import _ from senlinclient.common.i18n import _
from senlinclient.openstack.common import cliutils from senlinclient.openstack.common import cliutils

View File

@ -18,11 +18,11 @@ from __future__ import print_function
import argparse import argparse
import logging import logging
import six
import sys import sys
from oslo_utils import encodeutils from oslo_utils import encodeutils
from oslo_utils import importutils from oslo_utils import importutils
import six
import senlinclient import senlinclient
from senlinclient import cliargs from senlinclient import cliargs

View File

@ -10,8 +10,8 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# from senlinclient.common import exc
from senlinclient.common import utils from senlinclient.common import utils
import testtools import testtools

View File

@ -12,10 +12,10 @@
import inspect import inspect
import json import json
from openstack.identity import identity_service from openstack.identity import identity_service
from openstack.network.v2 import thin as thins from openstack.network.v2 import thin as thins
from openstack import transport as trans from openstack import transport as trans
from senlinclient.common import exc as client_exc from senlinclient.common import exc as client_exc