mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-08-05 12:44:05 +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()):
|
not getattr(self.options, k.lower()):
|
||||||
setattr(self.options, k.lower(), v)
|
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.heidi_delta_output = self.options.heidi_output + "Delta"
|
||||||
|
|
||||||
self.options.nobreakall_arches = self.options.nobreakall_arches.split()
|
self.options.nobreakall_arches = self.options.nobreakall_arches.split()
|
||||||
@ -3023,14 +3023,15 @@ class Britney(object):
|
|||||||
except AttributeError:
|
except AttributeError:
|
||||||
self.write_dates(self.options.testing, self.dates)
|
self.write_dates(self.options.testing, self.dates)
|
||||||
|
|
||||||
# write HeidiResult
|
if self.options.heidi_output:
|
||||||
self.__log("Writing Heidi results to %s" % self.options.heidi_output)
|
# write HeidiResult
|
||||||
write_heidi(self.options.heidi_output, self.sources["testing"],
|
self.__log("Writing Heidi results to %s" % self.options.heidi_output)
|
||||||
self.binaries["testing"])
|
write_heidi(self.options.heidi_output, self.sources["testing"],
|
||||||
|
self.binaries["testing"])
|
||||||
|
|
||||||
self.__log("Writing delta to %s" % self.options.heidi_delta_output)
|
self.__log("Writing delta to %s" % self.options.heidi_delta_output)
|
||||||
write_heidi_delta(self.options.heidi_delta_output,
|
write_heidi_delta(self.options.heidi_delta_output,
|
||||||
self.all_selected)
|
self.all_selected)
|
||||||
|
|
||||||
|
|
||||||
self.printuninstchange()
|
self.printuninstchange()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user