diff options
| author | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-12-06 19:46:42 +0000 |
|---|---|---|
| committer | Armando Migliaccio <armando.migliaccio@citrix.com> | 2010-12-06 19:46:42 +0000 |
| commit | c2e328a158cadf45df9fb07f0c3da91f11ad416e (patch) | |
| tree | d675629f14475c61bb8755bedb533b665e09bfef | |
| parent | b4ac00dcbba9bd827177888f2790fb48e1432262 (diff) | |
fixed import module in __init__.py
| -rw-r--r-- | nova/virt/xenapi/__init__.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/nova/virt/xenapi/__init__.py b/nova/virt/xenapi/__init__.py index ece430407..ed8c293a3 100644 --- a/nova/virt/xenapi/__init__.py +++ b/nova/virt/xenapi/__init__.py @@ -19,8 +19,5 @@ This is loaded late so that there's no need to install this library when not using XenAPI """ -XenAPI = None -global XenAPI - -if XenAPI is None: - XenAPI = __import__('XenAPI') +XenAPI = __import__('XenAPI') +global XenAPI
\ No newline at end of file |
