[Avida-cvs] [Avida2-svn] r168 - trunk/source/python/AvidaGui2

baerb at myxo.css.msu.edu baerb at myxo.css.msu.edu
Fri May 27 12:57:17 PDT 2005


Author: baerb
Date: 2005-05-27 15:57:17 -0400 (Fri, 27 May 2005)
New Revision: 168

Modified:
   trunk/source/python/AvidaGui2/checkuic.py
Log:
Changed code so that it runs pyuic from command path instead of assuming
pyuic is in ./



Modified: trunk/source/python/AvidaGui2/checkuic.py
===================================================================
--- trunk/source/python/AvidaGui2/checkuic.py	2005-05-26 05:30:24 UTC (rev 167)
+++ trunk/source/python/AvidaGui2/checkuic.py	2005-05-27 19:57:17 UTC (rev 168)
@@ -42,7 +42,7 @@
       if time_diff > 0:
         print ui_name + ' ' + time.ctime(ui_stat.st_mtime)
         print py_name + ' ' + time.ctime(py_stat.st_mtime)
-        command =  "./pyuic " + ui_name + " > " + py_name
+        command =  "pyuic " + ui_name + " > " + py_name
         response = raw_input(command + "? (y/n)  ")
         response = response.upper()
         response = response.strip()
@@ -50,7 +50,7 @@
           os.system(command)
     else:
       print "No file " + py_name + " exists"
-      command =  "./pyuic " + ui_name + " > " + py_name
+      command =  "pyuic " + ui_name + " > " + py_name
       response = raw_input(command + "? (y/n)  ")
       response = response.upper()
       response = response.strip()




More information about the Avida-cvs mailing list