Allow HEIDI_OUTPUT to be empty

wip/linux-policy
Iain Lane 5 years ago committed by Iain Lane
parent e7bc681e9a
commit 2ca6ae31b0

@ -1306,7 +1306,8 @@ class Britney(object):
if not self.options.dry_run: if not self.options.dry_run:
target_suite = self.suite_info.target_suite 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 # write HeidiResult
self.logger.info("Writing Heidi results to %s", self.options.heidi_output) self.logger.info("Writing Heidi results to %s", self.options.heidi_output)
write_heidi(self.options.heidi_output, write_heidi(self.options.heidi_output,

Loading…
Cancel
Save