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:
parent
8fefacfbae
commit
1b1dd31067
@ -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.
|
||||
|
@ -18,6 +18,7 @@ Base utilities to build API operation managers and objects on top of.
|
||||
"""
|
||||
|
||||
import copy
|
||||
|
||||
import six
|
||||
|
||||
|
||||
|
@ -16,9 +16,10 @@
|
||||
import copy
|
||||
import logging
|
||||
import os
|
||||
import six
|
||||
import socket
|
||||
|
||||
import six
|
||||
|
||||
from ironicclient.openstack.common.py3kcompat import urlutils
|
||||
|
||||
try:
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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 = {}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -14,6 +14,7 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import fixtures
|
||||
import six
|
||||
import testtools
|
||||
|
@ -18,6 +18,7 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import testtools
|
||||
|
||||
from ironicclient.tests import utils
|
||||
|
@ -17,6 +17,7 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import testtools
|
||||
|
||||
from ironicclient.tests import utils
|
||||
|
@ -18,6 +18,7 @@
|
||||
# under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import testtools
|
||||
|
||||
from ironicclient.tests import utils
|
||||
|
Loading…
Reference in New Issue
Block a user