From 2bdc7a7feb37dbf05dc98383bc0d6faff2f503b7 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Tue, 27 Nov 2012 11:01:05 -0500 Subject: [PATCH] Fix import order to make it alphabetical. Change-Id: I159d9f5a6d131485d6063985a4e1638878b7463e --- cinder/api/openstack/volume/contrib/hosts.py | 4 ++-- cinder/tests/api/openstack/volume/contrib/test_hosts.py | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cinder/api/openstack/volume/contrib/hosts.py b/cinder/api/openstack/volume/contrib/hosts.py index 7ba7c24a6..d3c11030f 100644 --- a/cinder/api/openstack/volume/contrib/hosts.py +++ b/cinder/api/openstack/volume/contrib/hosts.py @@ -16,6 +16,8 @@ """The hosts admin extension.""" import webob.exc +from xml.dom import minidom +from xml.parsers import expat from cinder.api.openstack import extensions from cinder.api.openstack import wsgi @@ -27,8 +29,6 @@ from cinder.openstack.common import log as logging from cinder.openstack.common import timeutils from cinder import utils from cinder.volume import api as volume_api -from xml.dom import minidom -from xml.parsers import expat FLAGS = flags.FLAGS LOG = logging.getLogger(__name__) diff --git a/cinder/tests/api/openstack/volume/contrib/test_hosts.py b/cinder/tests/api/openstack/volume/contrib/test_hosts.py index fbf68c56b..a5c5b08dd 100644 --- a/cinder/tests/api/openstack/volume/contrib/test_hosts.py +++ b/cinder/tests/api/openstack/volume/contrib/test_hosts.py @@ -16,6 +16,8 @@ # under the License. import datetime + +from lxml import etree import webob.exc from cinder.api.openstack.volume.contrib import hosts as os_hosts @@ -25,7 +27,6 @@ from cinder import flags from cinder.openstack.common import log as logging from cinder.openstack.common import timeutils from cinder import test -from lxml import etree FLAGS = flags.FLAGS -- 2.45.2