From 759edbe163f4c37d9f391223ebc8cb763330bd57 Mon Sep 17 00:00:00 2001 From: Mathieu Trudel-Lapierre Date: Wed, 30 Oct 2013 17:29:11 -0700 Subject: [PATCH] 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. --- britney.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/britney.py b/britney.py index 890a988..8adfadf 100755 --- a/britney.py +++ b/britney.py @@ -2370,7 +2370,7 @@ class Britney(object): if not force: 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): # Result accepted either by force or by being better than the original result. @@ -2386,7 +2386,7 @@ class Britney(object): if force: self.output_write("force breaks:\n") 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.nuninst_orig = nuninst_end self.all_selected += [x.uvname for x in selected] @@ -2402,6 +2402,7 @@ class Britney(object): lundo.reverse() undo_changes(lundo, self.systems, self.sources, self.binaries) + self.output_write("\n")