From: Tony Mack Date: Mon, 7 Jan 2008 18:27:34 +0000 (+0000) Subject: fix syntax errors, no longer import System.py X-Git-Tag: 2008-02-11-last-vmware-support~181 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=ef91f9ba7d990bded0b362055d301a26e4fee989;p=tests.git fix syntax errors, no longer import System.py --- diff --git a/qaapi/qash b/qaapi/qash index 3eae64f..1ab9d62 100755 --- a/qaapi/qash +++ b/qaapi/qash @@ -8,8 +8,7 @@ import os, sys from optparse import OptionParser from traceback import print_exc -import utils -import System +import qa.utils from qa.QAAPI import QAAPI sys.path.append(os.path.dirname(os.path.realpath(sys.argv[0]))) @@ -22,9 +21,9 @@ parser.add_option("--help", action = "help", help = "show this help message and # XX Load callable tests try: - qaapi import QAAPI(globals(), - options.config, - options.log) + QAAPI(globals(), + options.config, + options.log) except Exception, err: print "Error: ", err