summaryrefslogtreecommitdiff
path: root/nova/virt/xenapi/__init__.py
diff options
context:
space:
mode:
authorJoe Gordon <jogo@cloudscaling.com>2013-01-25 12:10:16 -0500
committerJoe Gordon <jogo@cloudscaling.com>2013-01-25 12:11:54 -0500
commit8f394ee71619f099de45e8c33455c141c2f33286 (patch)
tree2a412967fd8fcf1e9d9ec1759d74184e0024a30f /nova/virt/xenapi/__init__.py
parentf9012e39ee5582192db9289d34df3adaddda2ad1 (diff)
downloadnova-8f394ee71619f099de45e8c33455c141c2f33286.tar.gz
Enable N302: Import modules only
Fix all N302 issues, and re-enable. Change-Id: Ic94d144c915b228b7ff2fd9c5951875e159ffcdd
Diffstat (limited to 'nova/virt/xenapi/__init__.py')
-rw-r--r--nova/virt/xenapi/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/nova/virt/xenapi/__init__.py b/nova/virt/xenapi/__init__.py
index 6a56a918c0..3853f09f2c 100644
--- a/nova/virt/xenapi/__init__.py
+++ b/nova/virt/xenapi/__init__.py
@@ -18,4 +18,6 @@
:mod:`xenapi` -- Nova support for XenServer and XCP through XenAPI
==================================================================
"""
-from nova.virt.xenapi.driver import XenAPIDriver
+from nova.virt.xenapi import driver
+
+XenAPIDriver = driver.XenAPIDriver