Imports to human alphabetical order

Problems identified by enabling N306 in run_tests.sh

Change-Id: Ifddfe58da020dd041bcbbf5f14941514a09f61c1
This commit is contained in:
Joe Gordon 2012-04-26 15:20:43 -07:00
parent c98c9f8ddb
commit 60b1154b14
12 changed files with 14 additions and 14 deletions

View File

@ -42,9 +42,9 @@ if os.path.exists(os.path.join(possible_topdir, "nova", "__init__.py")):
from nova import flags
from nova import log as logging
from nova.objectstore import s3server
from nova import service
from nova import utils
from nova.objectstore import s3server
from nova.vnc import xvp_proxy

View File

@ -31,11 +31,11 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
sys.path.insert(0, possible_topdir)
from nova.consoleauth import manager
from nova import flags
from nova import log as logging
from nova import service
from nova import utils
from nova.consoleauth import manager
if __name__ == "__main__":

View File

@ -39,9 +39,9 @@ from nova import context
from nova import db
from nova import flags
from nova import log as logging
from nova.network import linux_net
from nova import rpc
from nova import utils
from nova.network import linux_net
FLAGS = flags.FLAGS

View File

@ -36,9 +36,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
from nova import flags
from nova import log as logging
from nova.objectstore import s3server
from nova import service
from nova import utils
from nova.objectstore import s3server
if __name__ == '__main__':

View File

@ -23,8 +23,8 @@ Scheduler that allows routing some calls to one driver and others to another.
from nova import flags
from nova.openstack.common import cfg
from nova import utils
from nova.scheduler import driver
from nova import utils
multi_scheduler_opts = [

View File

@ -22,11 +22,11 @@ Simple Scheduler
"""
from nova import db
from nova import flags
from nova import exception
from nova import flags
from nova.openstack.common import cfg
from nova.scheduler import driver
from nova.scheduler import chance
from nova.scheduler import driver
from nova import utils

View File

@ -14,8 +14,8 @@
import webob
from nova import test
from nova.api.ec2 import faults
from nova import test
class TestFaults(test.TestCase):

View File

@ -18,9 +18,9 @@ Fakes For Scheduler tests.
import mox
from nova import db
from nova.compute import instance_types
from nova.compute import vm_states
from nova import db
from nova.scheduler import filter_scheduler
from nova.scheduler import host_manager

View File

@ -24,8 +24,8 @@ import mox
from nova import context
from nova import exception
from nova.scheduler import driver
from nova.scheduler import chance
from nova.scheduler import driver
from nova.tests.scheduler import test_scheduler

View File

@ -20,9 +20,9 @@ import mox
from nova import context
from nova import exception
from nova.scheduler import least_cost
from nova.scheduler import host_manager
from nova.scheduler import filter_scheduler
from nova.scheduler import host_manager
from nova.scheduler import least_cost
from nova import test
from nova.tests.scheduler import fakes
from nova.tests.scheduler import test_scheduler

View File

@ -22,11 +22,11 @@ Driver base-classes:
types that support that contract
"""
from nova.compute import power_state
from nova import context as nova_context
from nova import db
from nova import flags
from nova import log as logging
from nova.compute import power_state
LOG = logging.getLogger(__name__)

View File

@ -26,8 +26,8 @@ import logging
import optparse
from nova import flags
from nova import utils
from nova import log
from nova import utils
LOG = log.getLogger('nova.utils')