From 2ca6ae31b0d8be4647c3e3505681f2d49ef3d114 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Fri, 12 Jun 2020 21:12:07 +0100 Subject: [PATCH] Allow HEIDI_OUTPUT to be empty --- britney.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/britney.py b/britney.py index 6c724b5..99b3ac7 100755 --- a/britney.py +++ b/britney.py @@ -1306,7 +1306,8 @@ class Britney(object): if not self.options.dry_run: target_suite = self.suite_info.target_suite - if hasattr(self.options, 'heidi_output'): + if hasattr(self.options, 'heidi_output') and \ + self.options.heidi_output: # write HeidiResult self.logger.info("Writing Heidi results to %s", self.options.heidi_output) write_heidi(self.options.heidi_output,