Commit fa44baa3 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Provide a more informative error message when trying to stop gracefully

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@46014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent adb08c68
......@@ -52,7 +52,7 @@ class BenchmarkProcess(multiprocessing.Process):
super(BenchmarkProcess, self).__init__(*args, **kwargs)
def stopGracefully(self, *args, **kwargs):
raise StopIteration, "Interrupted by user"
raise StopIteration("Interrupted by user, flushing remaining results...")
def getBrowser(self, log_file):
info_list = tuple(self._argument_namespace.url) + \
......
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