Commit 4f6cef05 authored by Sebastien Robin's avatar Sebastien Robin

remove duplicate of code (cleanup is already done later in nicer way)

parent cfddf1f8
......@@ -404,8 +404,6 @@ branch = %(branch)s
self.cleanUp(test_result)
except (SubprocessError, CalledProcessError) as e:
log("SubprocessError", exc_info=sys.exc_info())
if test_result is not None:
test_result.removeWatch(log_file_name)
if remote_test_result_needs_cleanup:
status_dict = e.status_dict or {}
test_result.reportFailure(
......
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