Author: eudoxos
Date: 2009-03-01 14:35:18 +0100 (Sun, 01 Mar 2009)
New Revision: 1704

Modified:
   trunk/gui/py/PythonUI.cpp
   trunk/scripts/default-test.py
Log:
1. Fix old rename of runtime.args to runtime.argv in default-test.py. Should 
run OK now.


Modified: trunk/gui/py/PythonUI.cpp
===================================================================
--- trunk/gui/py/PythonUI.cpp   2009-03-01 13:29:51 UTC (rev 1703)
+++ trunk/gui/py/PythonUI.cpp   2009-03-01 13:35:18 UTC (rev 1704)
@@ -33,7 +33,7 @@
        *.py                       run this script (shorthand for -s *.py)\n\
        *.xml *.xml.gz *.xml.bz2   open and run this simulation\n\
 \n\
-       remaining arguments are copied to yade.runtime.args (no escaping done) 
\n\
+       remaining arguments are copied to yade.runtime.argv (no escaping done) 
\n\
 ";
 }
 

Modified: trunk/scripts/default-test.py
===================================================================
--- trunk/scripts/default-test.py       2009-03-01 13:29:51 UTC (rev 1703)
+++ trunk/scripts/default-test.py       2009-03-01 13:35:18 UTC (rev 1704)
@@ -75,7 +75,7 @@
 # handle crash reports, if any
 if reports:
        mailFrom,mailTo=None,None
-       for a in yade.runtime.args:
+       for a in yade.runtime.argv:
                if 'mail:' in a: 
mailFrom,mailTo=a.replace('mail:','').split(',')
        reportText='\n'.join([80*'#'+'\n'+r[0]+': '+r[1]+'\n'+80*'#'+'\n'+r[2] 
for r in reports])
        if mailTo and mailFrom:


_______________________________________________
Mailing list: https://launchpad.net/~yade-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to