Reorder imports by full module path
Fixes bug #1013441 Sort imports by lexicographical order of full module path Change-Id: I60231d87618466426dc7bfac7bb0644a0dbd079a
This commit is contained in:
parent
cc91786a5b
commit
79647c6baf
@ -16,10 +16,10 @@
|
||||
# under the License.
|
||||
|
||||
from keystone import catalog
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.common import sql
|
||||
from keystone.common.sql import migration
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -16,9 +16,9 @@
|
||||
|
||||
import os.path
|
||||
|
||||
from keystone import config
|
||||
from keystone.common import logging
|
||||
from keystone.catalog.backends import kvs
|
||||
from keystone.common import logging
|
||||
from keystone import config
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
import uuid
|
||||
|
||||
from keystone.common import manager
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone import policy
|
||||
from keystone import token
|
||||
from keystone.common import manager
|
||||
from keystone.common import wsgi
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -28,8 +28,8 @@ BufferedHTTPResponse.
|
||||
make all calls through httplib.
|
||||
"""
|
||||
|
||||
from urllib import quote
|
||||
import time
|
||||
from urllib import quote
|
||||
|
||||
from eventlet.green.httplib import (CONTINUE, HTTPConnection, HTTPMessage,
|
||||
HTTPResponse, HTTPSConnection, _UNKNOWN)
|
||||
|
@ -16,9 +16,9 @@
|
||||
|
||||
import ldap
|
||||
|
||||
from keystone import exception
|
||||
from keystone.common import logging
|
||||
from keystone.common.ldap import fakeldap
|
||||
from keystone.common import logging
|
||||
from keystone import exception
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -14,16 +14,16 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
from sqlalchemy import *
|
||||
from migrate import *
|
||||
from sqlalchemy import *
|
||||
|
||||
from keystone.common import sql
|
||||
|
||||
# these are to make sure all the models we care about are defined
|
||||
import keystone.catalog.backends.sql
|
||||
import keystone.contrib.ec2.backends.sql
|
||||
import keystone.identity.backends.sql
|
||||
import keystone.token.backends.sql
|
||||
import keystone.contrib.ec2.backends.sql
|
||||
import keystone.catalog.backends.sql
|
||||
|
||||
|
||||
def upgrade(migrate_engine):
|
||||
|
@ -17,8 +17,8 @@
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from keystone import config
|
||||
from keystone.common.sql import migration
|
||||
from keystone import config
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -30,8 +30,8 @@ import urllib
|
||||
|
||||
import passlib.hash
|
||||
|
||||
from keystone import config
|
||||
from keystone.common import logging
|
||||
from keystone import config
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -30,9 +30,9 @@ import ssl
|
||||
import webob.dec
|
||||
import webob.exc
|
||||
|
||||
from keystone import exception
|
||||
from keystone.common import logging
|
||||
from keystone.common import utils
|
||||
from keystone import exception
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -15,8 +15,8 @@
|
||||
# under the License.
|
||||
|
||||
import gettext
|
||||
import sys
|
||||
import os
|
||||
import sys
|
||||
|
||||
from keystone.common import logging
|
||||
from keystone.openstack.common import cfg
|
||||
|
@ -15,8 +15,8 @@
|
||||
# under the License.
|
||||
|
||||
from keystone import catalog
|
||||
from keystone import identity
|
||||
from keystone.common import wsgi
|
||||
from keystone import identity
|
||||
|
||||
|
||||
class CrudExtension(wsgi.ExtensionRouter):
|
||||
|
@ -37,15 +37,15 @@ glance to list images needed to perform the requested task.
|
||||
import uuid
|
||||
|
||||
from keystone import catalog
|
||||
from keystone.common import manager
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone import policy
|
||||
from keystone import service
|
||||
from keystone import token
|
||||
from keystone.common import manager
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -28,11 +28,11 @@ import hmac
|
||||
|
||||
from hashlib import sha1
|
||||
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone.contrib import ec2
|
||||
from keystone import exception
|
||||
|
||||
CONF = config.CONF
|
||||
|
||||
|
@ -15,10 +15,10 @@
|
||||
# under the License.
|
||||
|
||||
from keystone import clean
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone.common import kvs
|
||||
from keystone.common import utils
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
|
||||
|
||||
def _filter_user(user_ref):
|
||||
|
@ -20,12 +20,12 @@ import ldap
|
||||
from ldap import filter as ldap_filter
|
||||
|
||||
from keystone import clean
|
||||
from keystone.common import ldap as common_ldap
|
||||
from keystone.common.ldap import fakeldap
|
||||
from keystone.common import utils
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone.common import ldap as common_ldap
|
||||
from keystone.common import utils
|
||||
from keystone.common.ldap import fakeldap
|
||||
from keystone.identity import models
|
||||
|
||||
|
||||
|
@ -18,11 +18,11 @@ import copy
|
||||
import functools
|
||||
|
||||
from keystone import clean
|
||||
from keystone.common import sql
|
||||
from keystone.common.sql import migration
|
||||
from keystone.common import utils
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone.common import sql
|
||||
from keystone.common import utils
|
||||
from keystone.common.sql import migration
|
||||
|
||||
|
||||
def _filter_user(user_ref):
|
||||
|
@ -16,17 +16,17 @@
|
||||
|
||||
"""Main entry point into the Identity service."""
|
||||
|
||||
import uuid
|
||||
import urllib
|
||||
import urlparse
|
||||
import uuid
|
||||
|
||||
from keystone.common import logging
|
||||
from keystone.common import manager
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import policy
|
||||
from keystone import token
|
||||
from keystone.common import logging
|
||||
from keystone.common import manager
|
||||
from keystone.common import wsgi
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -18,10 +18,10 @@ import json
|
||||
|
||||
import webob.exc
|
||||
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.common import serializer
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -31,8 +31,8 @@
|
||||
|
||||
import webob
|
||||
|
||||
from swift.common import utils as swift_utils
|
||||
from swift.common.middleware import acl as swift_acl
|
||||
from swift.common import utils as swift_utils
|
||||
|
||||
|
||||
class SwiftAuth(object):
|
||||
|
@ -19,13 +19,13 @@
|
||||
|
||||
import os.path
|
||||
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import policy
|
||||
from keystone.common import logging
|
||||
from keystone.common import policy as common_policy
|
||||
from keystone.common import utils
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.openstack.common import cfg
|
||||
from keystone import policy
|
||||
|
||||
|
||||
policy_opts = [
|
||||
|
@ -16,9 +16,9 @@
|
||||
|
||||
"""Main entry point into the Policy service."""
|
||||
|
||||
from keystone.common import manager
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.common import manager
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -19,13 +19,13 @@ import uuid
|
||||
import routes
|
||||
|
||||
from keystone import catalog
|
||||
from keystone.common import logging
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
from keystone import exception
|
||||
from keystone import identity
|
||||
from keystone import policy
|
||||
from keystone import token
|
||||
from keystone.common import logging
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
@ -24,11 +24,11 @@ from paste import deploy
|
||||
import stubout
|
||||
import unittest2 as unittest
|
||||
|
||||
from keystone import config
|
||||
from keystone.common import kvs
|
||||
from keystone.common import logging
|
||||
from keystone.common import utils
|
||||
from keystone.common import wsgi
|
||||
from keystone import config
|
||||
from keystone.openstack.common import importutils
|
||||
|
||||
|
||||
|
@ -19,10 +19,10 @@ import copy
|
||||
|
||||
import memcache
|
||||
|
||||
from keystone.common import utils
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone import token
|
||||
from keystone.common import utils
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
@ -18,9 +18,9 @@
|
||||
|
||||
import datetime
|
||||
|
||||
from keystone.common import manager
|
||||
from keystone import config
|
||||
from keystone import exception
|
||||
from keystone.common import manager
|
||||
|
||||
|
||||
CONF = config.CONF
|
||||
|
Loading…
x
Reference in New Issue
Block a user