From: Thierry Parmentelat Date: Mon, 10 Dec 2007 10:05:24 +0000 (+0000) Subject: bugfix - retrieving URL was broken X-Git-Tag: 2008-02-11-last-vmware-support~218 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0e1cd291dd5a4a041e1313f8ff81ca3038c59d22;p=tests.git bugfix - retrieving URL was broken --- diff --git a/system/TestMain.py b/system/TestMain.py index 69f2691..f3e3e15 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -47,7 +47,7 @@ myplc-url defaults to the last value used, as stored in URL""" url=self.args[0] else: try: - url=open("%s/URL"%self.path) + url_file=open("%s/URL"%self.path) url=url_file.read().strip() url_file.close() except: