Commit 8cd03083 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Cosmetic

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@46018 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5dcd7f1f
...@@ -75,10 +75,9 @@ class BenchmarkProcess(multiprocessing.Process): ...@@ -75,10 +75,9 @@ class BenchmarkProcess(multiprocessing.Process):
try: try:
target(result, self._browser) target(result, self._browser)
except BaseException, e: except StopIteration:
if isinstance(e, StopIteration):
raise raise
except Exception, e:
msg = "%s: %s" % (target, traceback.format_exc()) msg = "%s: %s" % (target, traceback.format_exc())
try: try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment