mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-08-05 20:54:04 +00:00
Don't create heidi files if HEIDI_OUTPUT option is empty
This commit is contained in:
commit
18dc37dca5
17
britney.py
17
britney.py
@ -453,7 +453,7 @@ class Britney(object):
|
||||
not getattr(self.options, k.lower()):
|
||||
setattr(self.options, k.lower(), v)
|
||||
|
||||
if not hasattr(self.options, "heidi_delta_output"):
|
||||
if self.options.heidi_output and not hasattr(self.options, "heidi_delta_output"):
|
||||
self.options.heidi_delta_output = self.options.heidi_output + "Delta"
|
||||
|
||||
self.options.nobreakall_arches = self.options.nobreakall_arches.split()
|
||||
@ -3023,14 +3023,15 @@ class Britney(object):
|
||||
except AttributeError:
|
||||
self.write_dates(self.options.testing, self.dates)
|
||||
|
||||
# write HeidiResult
|
||||
self.__log("Writing Heidi results to %s" % self.options.heidi_output)
|
||||
write_heidi(self.options.heidi_output, self.sources["testing"],
|
||||
self.binaries["testing"])
|
||||
if self.options.heidi_output:
|
||||
# write HeidiResult
|
||||
self.__log("Writing Heidi results to %s" % self.options.heidi_output)
|
||||
write_heidi(self.options.heidi_output, self.sources["testing"],
|
||||
self.binaries["testing"])
|
||||
|
||||
self.__log("Writing delta to %s" % self.options.heidi_delta_output)
|
||||
write_heidi_delta(self.options.heidi_delta_output,
|
||||
self.all_selected)
|
||||
self.__log("Writing delta to %s" % self.options.heidi_delta_output)
|
||||
write_heidi_delta(self.options.heidi_delta_output,
|
||||
self.all_selected)
|
||||
|
||||
|
||||
self.printuninstchange()
|
||||
|
Loading…
x
Reference in New Issue
Block a user