Move the logic to find the Xen Python scripts above the import statements.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2006-05-06 15:42:12 +01:00
1 parent 30907c5593
commit 4697d093c7
1 file changed
+10 -7
+10 -7
View File
@@ -3,13 +3,8 @@
# Author: Dan Smith <danms@us.ibm.com>
#
from Console import *
from Test import *
from Xm import *
from XenDomain import *
from config import *
from XenDevice import *
from NetConfig import *
import os.path
import sys
# Use the auxbin module in Xend to determine the correct Python path. We
# take the first installed instance of auxbin that we find, and then run it
@@ -28,6 +23,14 @@ for p in ['python%s' % sys.version[:3], 'python']:
sys.path.append(libpath)
break
from Console import *
from Test import *
from Xm import *
from XenDomain import *
from config import *
from XenDevice import *
from NetConfig import *
# Give this test a clean slate
destroyAllDomUs()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.