summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2018-07-16 10:25:39 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2018-07-16 10:25:39 -0400
commitdbb523fbbf98d6d3638b631939c06602ddee30e7 (patch)
treec5a6fe2a9326c1b597b98e3b0df8d43fff11351a
parent2b19fb5e85f1388254552515d6a47b3adce27523 (diff)
downloadmongo-dbb523fbbf98d6d3638b631939c06602ddee30e7.tar.gz
SERVER-36111 Remove unnecessary and unguarded usage of archival module.
This fixes the AttributeError that would otherwise occur when running resmoke.py without specifying the --archiveFile command line option.
-rw-r--r--buildscripts/resmokelib/testing/job.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/buildscripts/resmokelib/testing/job.py b/buildscripts/resmokelib/testing/job.py
index c8be906dd3a..ad324bd0d1d 100644
--- a/buildscripts/resmokelib/testing/job.py
+++ b/buildscripts/resmokelib/testing/job.py
@@ -115,7 +115,6 @@ class Job(object):
finally:
success = self.report.find_test_info(test).status == "pass"
- self.archival.archive(self.logger, test, success)
if self.archival:
self.archival.archive(self.logger, test, success)