[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Move the logic to find the Xen Python scripts above the import statements.
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 491f3f48704e32e695b787541bd4e64ada3f8df9 # Parent 0afdf20b3efae5b7858f8378f8171159e891b068 Move the logic to find the Xen Python scripts above the import statements. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> --- tools/xm-test/lib/XmTestLib/__init__.py | 17 ++++++++++------- 1 files changed, 10 insertions(+), 7 deletions(-) diff -r 0afdf20b3efa -r 491f3f48704e tools/xm-test/lib/XmTestLib/__init__.py --- a/tools/xm-test/lib/XmTestLib/__init__.py Fri May 05 18:36:26 2006 +0100 +++ b/tools/xm-test/lib/XmTestLib/__init__.py Sat May 06 15:42:12 2006 +0100 @@ -3,13 +3,8 @@ # Author: Dan Smith <danms@xxxxxxxxxx> # -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], 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() _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |