runs with python -u & cosmetic change
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 10 Dec 2007 09:31:47 +0000 (09:31 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Mon, 10 Dec 2007 09:31:47 +0000 (09:31 +0000)
system/TestMain.py
system/TestSite.py

index 5bff507..7e20464 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -u
 # $Id$
 
 import os, sys, time
index 817e21d..f1b1dee 100644 (file)
@@ -142,7 +142,7 @@ class TestSite:
         self.kill_all_vmwares()
         print "* Displaying vmplayer on DISPLAY=",display
         for l in liste_nodes :
-            print "* Starting vmplayer for node %s -- see vmplayer.log",l['hostname']
+            print "* Starting vmplayer for node %s -- see vmplayer.log"%l['hostname']
             os.system('set -x; cd %s/VirtualFile-%s ; DISPLAY=%s vmplayer My_Virtual_Machine.vmx < /dev/null 2>&1 >> vmplayer.log &'%(path,l['hostname'],display))
 
     def delete_known_hosts(self):