Commit 4f6cef05 by Sebastien Robin

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

1 parent cfddf1f8
...@@ -404,8 +404,6 @@ branch = %(branch)s ...@@ -404,8 +404,6 @@ branch = %(branch)s
self.cleanUp(test_result) self.cleanUp(test_result)
except (SubprocessError, CalledProcessError) as e: except (SubprocessError, CalledProcessError) as e:
log("SubprocessError", exc_info=sys.exc_info()) 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: if remote_test_result_needs_cleanup:
status_dict = e.status_dict or {} status_dict = e.status_dict or {}
test_result.reportFailure( test_result.reportFailure(
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!