summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDavanum Srinivas <dims@linux.vnet.ibm.com>2014-07-09 17:00:21 -0400
committerDavanum Srinivas (dims) <davanum@gmail.com>2014-07-15 01:13:26 +0000
commitf3dc6eefe78463047f63c138cff62c664c21a971 (patch)
tree4f0820a4ae4b0e123a7bf015db82017845dd52c2 /plugins
parent35abfd1d08582df164e66b3bc3b2d180bc2301b2 (diff)
downloadnova-f3dc6eefe78463047f63c138cff62c664c21a971.tar.gz
Fix and gate on H305 and H307
Both H305 and H307 are part of the OpenStack style guide. Ensure that there are 3 groups of imports, stdlib, third-party and project specific. Within each category ensure that imports are in alphabetical order. Change-Id: Id4994551c135c3c1a4982153f0c6cacba6176b95
Diffstat (limited to 'plugins')
-rw-r--r--plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py1
-rwxr-xr-xplugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py
index ebe0b9a985..cbeea5884f 100644
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/pluginlib_nova.py
@@ -23,6 +23,7 @@ import gettext
import logging
import logging.handlers
import time
+
import XenAPI
diff --git a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
index a6f1d6cd15..3d28fc617d 100755
--- a/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
+++ b/plugins/xenserver/xenapi/etc/xapi.d/plugins/xenstore.py
@@ -29,7 +29,7 @@ except ImportError:
import utils # noqa
-import XenAPIPlugin
+import XenAPIPlugin # noqa
import pluginlib_nova as pluginlib # noqa
pluginlib.configure_logging("xenstore")