summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2012-05-23 02:55:35 +0000
committerGerrit Code Review <review@openstack.org>2012-05-23 02:55:35 +0000
commit82f38e44ae5504bc56e05446266912cb700a329e (patch)
tree3cc59f41282295fa01ac6a22318abc702d419000 /nova
parent94372203cf7fc41245b5b0cb4eb935a80e2d8c20 (diff)
parentf8437e37d4961c6f0cf7be091d919f49268ded1d (diff)
downloadnova-82f38e44ae5504bc56e05446266912cb700a329e.tar.gz
nova-82f38e44ae5504bc56e05446266912cb700a329e.tar.xz
nova-82f38e44ae5504bc56e05446266912cb700a329e.zip
Merge "Enable checking for imports in alphabetical order"
Diffstat (limited to 'nova')
-rw-r--r--nova/compute/api.py4
-rw-r--r--nova/openstack/common/cfg.py2
-rw-r--r--nova/tests/rpc/test_dispatcher.py2
-rw-r--r--nova/tests/test_volume_utils.py8
-rw-r--r--nova/volume/manager.py2
-rw-r--r--nova/volume/utils.py2
6 files changed, 10 insertions, 10 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py
index 02accd5b1..7b71dab9d 100644
--- a/nova/compute/api.py
+++ b/nova/compute/api.py
@@ -23,8 +23,8 @@ networking and storage of vms, and compute hosts on which they run)."""
import functools
import re
-import time
import string
+import time
from nova import block_device
from nova.compute import aggregate_states
@@ -32,8 +32,8 @@ from nova.compute import instance_types
from nova.compute import power_state
from nova.compute import task_states
from nova.compute import vm_states
-from nova import crypto
from nova.consoleauth import rpcapi as consoleauth_rpcapi
+from nova import crypto
from nova.db import base
from nova import exception
from nova import flags
diff --git a/nova/openstack/common/cfg.py b/nova/openstack/common/cfg.py
index 1a167681c..153880f3b 100644
--- a/nova/openstack/common/cfg.py
+++ b/nova/openstack/common/cfg.py
@@ -226,8 +226,8 @@ log files:
import collections
import copy
-import glob
import functools
+import glob
import optparse
import os
import string
diff --git a/nova/tests/rpc/test_dispatcher.py b/nova/tests/rpc/test_dispatcher.py
index 0c16c6a34..d67f7b8ec 100644
--- a/nova/tests/rpc/test_dispatcher.py
+++ b/nova/tests/rpc/test_dispatcher.py
@@ -19,8 +19,8 @@ Unit Tests for rpc.dispatcher
"""
from nova import context
-from nova.rpc import dispatcher
from nova.rpc import common as rpc_common
+from nova.rpc import dispatcher
from nova import test
diff --git a/nova/tests/test_volume_utils.py b/nova/tests/test_volume_utils.py
index 453c0d925..da84dd5d2 100644
--- a/nova/tests/test_volume_utils.py
+++ b/nova/tests/test_volume_utils.py
@@ -17,15 +17,15 @@
"""Tests For miscellaneous util methods used with volume."""
+from nova import context
from nova import db
from nova import flags
-from nova import context
-from nova import test
-from nova import log as logging
import nova.image.fake
-from nova.volume import utils as volume_utils
+from nova import log as logging
from nova.notifier import test_notifier
from nova.openstack.common import importutils
+from nova import test
+from nova.volume import utils as volume_utils
LOG = logging.getLogger(__name__)
diff --git a/nova/volume/manager.py b/nova/volume/manager.py
index a471ea372..bed56ffff 100644
--- a/nova/volume/manager.py
+++ b/nova/volume/manager.py
@@ -48,8 +48,8 @@ from nova.openstack.common import excutils
from nova.openstack.common import importutils
from nova import rpc
from nova import utils
-from nova.volume import volume_types
from nova.volume import utils as volume_utils
+from nova.volume import volume_types
LOG = logging.getLogger(__name__)
diff --git a/nova/volume/utils.py b/nova/volume/utils.py
index 94f719bf3..ccdd15a4e 100644
--- a/nova/volume/utils.py
+++ b/nova/volume/utils.py
@@ -18,8 +18,8 @@
from nova import flags
from nova import log as logging
-from nova import utils
from nova.notifier import api as notifier_api
+from nova import utils
FLAGS = flags.FLAGS