Reorder imports

As per hacking and PEP8, grouping third party libraries in
their own group.

http://www.python.org/dev/peps/pep-0008/#imports

Change-Id: I7a574d311b5171def0c6930162a46ce4c215097d
This commit is contained in:
Ghe Rivero 2013-11-11 12:09:16 +01:00
parent 8fefacfbae
commit 1b1dd31067
12 changed files with 17 additions and 9 deletions

View File

@ -10,9 +10,10 @@
# License for the specific language governing permissions and limitations
# under the License.
from ironicclient.common import utils
from keystoneclient.v2_0 import client as ksclient
from ironicclient.common import utils
def _get_ksclient(**kwargs):
"""Get an endpoint and auth token from Keystone.

View File

@ -18,6 +18,7 @@ Base utilities to build API operation managers and objects on top of.
"""
import copy
import six

View File

@ -16,9 +16,10 @@
import copy
import logging
import os
import six
import socket
import six
from ironicclient.openstack.common.py3kcompat import urlutils
try:

View File

@ -17,12 +17,12 @@ from __future__ import print_function
import argparse
import os
import six
import sys
import textwrap
import uuid
import prettytable
import six
from ironicclient import exc
from ironicclient.openstack.common import importutils

View File

@ -17,10 +17,11 @@ Command-line interface to the OpenStack Bare Metal Provisioning
from __future__ import print_function
import argparse
import httplib2
import logging
import sys
import httplib2
import ironicclient
from ironicclient import client as iroclient
from ironicclient.common import utils

View File

@ -13,9 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from ironicclient.tests import utils
from ironicclient.common import http
from ironicclient.tests import utils
fixtures = {}

View File

@ -10,12 +10,12 @@
# License for the specific language governing permissions and limitations
# under the License.
import httplib2
import re
import six
import sys
import fixtures
import httplib2
import six
from testtools import matchers
from ironicclient import exc

View File

@ -14,9 +14,10 @@
# under the License.
import six
import sys
import six
from ironicclient.common import utils
from ironicclient import exc
from ironicclient.tests import utils as test_utils

View File

@ -14,6 +14,7 @@
# under the License.
import copy
import fixtures
import six
import testtools

View File

@ -18,6 +18,7 @@
# under the License.
import copy
import testtools
from ironicclient.tests import utils

View File

@ -17,6 +17,7 @@
# under the License.
import copy
import testtools
from ironicclient.tests import utils

View File

@ -18,6 +18,7 @@
# under the License.
import copy
import testtools
from ironicclient.tests import utils