[Erp5-report] r35364 rafael - /erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 14 22:19:03 CEST 2010


Author: rafael
Date: Fri May 14 22:19:02 2010
New Revision: 35364

URL: http://svn.erp5.org?rev=35364&view=rev
Log:
The arguments are not the script name but the rest of content of the comand line.


Modified:
    erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py

Modified: erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py?rev=35364&r1=35363&r2=35364&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/runFunctionalTest.py [utf8] Fri May 14 22:19:02 2010
@@ -82,7 +82,7 @@
 
   def parseArgs(self, arguments=None):
     if arguments is None:
-      arguments = sys.argv[:1]
+      arguments = sys.argv[1:]
     try:
       opts, args = getopt.getopt(arguments,
             "hsd", ["help", "stdout", "debug",




More information about the Erp5-report mailing list