mirror of
https://git.launchpad.net/~ubuntu-release/britney/+git/britney2-ubuntu
synced 2025-05-29 11:21:31 +00:00
Update whitespace; make the output easier to read
FAILED/SUCCESS lines would be separated by a whitespace from the list of architectures, but not itself followed by whitespace. This is slightly confusing, as one could interpret it as being a heading for the following block of tested packages, rather that the final result of the previous block.
This commit is contained in:
parent
44782c8e37
commit
759edbe163
@ -2370,7 +2370,7 @@ class Britney(object):
|
|||||||
|
|
||||||
if not force:
|
if not force:
|
||||||
self.output_write(eval_uninst(self.options.architectures,
|
self.output_write(eval_uninst(self.options.architectures,
|
||||||
newly_uninst(nuninst_start, nuninst_end)) + "\n")
|
newly_uninst(nuninst_start, nuninst_end)))
|
||||||
|
|
||||||
if force or self.is_nuninst_asgood_generous(self.nuninst_orig, nuninst_end):
|
if force or self.is_nuninst_asgood_generous(self.nuninst_orig, nuninst_end):
|
||||||
# Result accepted either by force or by being better than the original result.
|
# Result accepted either by force or by being better than the original result.
|
||||||
@ -2386,7 +2386,7 @@ class Britney(object):
|
|||||||
if force:
|
if force:
|
||||||
self.output_write("force breaks:\n")
|
self.output_write("force breaks:\n")
|
||||||
self.output_write(eval_uninst(self.options.architectures,
|
self.output_write(eval_uninst(self.options.architectures,
|
||||||
newly_uninst(nuninst_start, nuninst_end)) + "\n")
|
newly_uninst(nuninst_start, nuninst_end)))
|
||||||
self.output_write("SUCCESS (%d/%d)\n" % (len(actions or self.upgrade_me), len(extra)))
|
self.output_write("SUCCESS (%d/%d)\n" % (len(actions or self.upgrade_me), len(extra)))
|
||||||
self.nuninst_orig = nuninst_end
|
self.nuninst_orig = nuninst_end
|
||||||
self.all_selected += [x.uvname for x in selected]
|
self.all_selected += [x.uvname for x in selected]
|
||||||
@ -2402,6 +2402,7 @@ class Britney(object):
|
|||||||
lundo.reverse()
|
lundo.reverse()
|
||||||
|
|
||||||
undo_changes(lundo, self.systems, self.sources, self.binaries)
|
undo_changes(lundo, self.systems, self.sources, self.binaries)
|
||||||
|
self.output_write("\n")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user