[Erp5-report] r8951 - /erp5/trunk/utils/erp5mechanize/runBenchmarks.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 1 11:13:09 CEST 2006


Author: vincent
Date: Tue Aug  1 11:13:08 2006
New Revision: 8951

URL: http://svn.erp5.org?rev=8951&view=rev
Log:
Empty tuple must not contain a comma.

Modified:
    erp5/trunk/utils/erp5mechanize/runBenchmarks.py

Modified: erp5/trunk/utils/erp5mechanize/runBenchmarks.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5mechanize/runBenchmarks.py?rev=8951&r1=8950&r2=8951&view=diff
==============================================================================
--- erp5/trunk/utils/erp5mechanize/runBenchmarks.py (original)
+++ erp5/trunk/utils/erp5mechanize/runBenchmarks.py Tue Aug  1 11:13:08 2006
@@ -284,7 +284,7 @@
   import getopt
   possible_arg_list = ('config', 'dresults', 'results', 'load', 'Lazyness',
                        'usercount', 'Repeat', 'zopecount')
-  possible_opt_list = (, )
+  possible_opt_list = ()
   kw = {}
   args = []
   try:
@@ -328,6 +328,9 @@
           if callable(module.runBenchmarks_parameter_list[k]):
             module.runBenchmarks_parameter_list[k] = \
                             module.runBenchmarks_parameter_list[k](initial_kw)
+            sys.stdout.write('Generated parameter %s = %s' % (k,
+                                   module.runBenchmarks_parameter_list[k]))
+            # Inform the user about the value of the generated parameter.
           kw[k] = module.runBenchmarks_parameter_list[k]
     args.append(module.instance_list)
     args.append(module.test_list)




More information about the Erp5-report mailing list