[Erp5-report] r46018 arnaud.fontaine - /erp5/trunk/utils/erp5.utils.benchmark/src/erp5/util...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Aug 30 10:55:48 CEST 2011


Author: arnaud.fontaine
Date: Tue Aug 30 10:55:48 2011
New Revision: 46018

URL: http://svn.erp5.org?rev=46018&view=rev
Log:
Cosmetic

Modified:
    erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/process.py

Modified: erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/process.py
URL: http://svn.erp5.org/erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/process.py?rev=46018&r1=46017&r2=46018&view=diff
==============================================================================
--- erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/process.py [utf8] (original)
+++ erp5/trunk/utils/erp5.utils.benchmark/src/erp5/utils/benchmark/process.py [utf8] Tue Aug 30 10:55:48 2011
@@ -75,10 +75,9 @@ class BenchmarkProcess(multiprocessing.P
 
       try:
         target(result, self._browser)
-      except BaseException, e:
-        if isinstance(e, StopIteration):
-          raise
-
+      except StopIteration:
+        raise
+      except Exception, e:
         msg = "%s: %s" % (target, traceback.format_exc())
 
         try:



More information about the Erp5-report mailing list