From b63fcd0267b0effdb445f3da7cea35830e85eed4 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 21:19:33 +0000 Subject: [PATCH] Add fixes for broken prefix_multi_line_string calls. Signed-off-by: Chris Lamb --- daklib/queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/queue.py b/daklib/queue.py index 7bdff49f..cbdf57a3 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1069,7 +1069,7 @@ class Upload(object): (result, output) = commands.getstatusoutput(cmd) if (result != 0): self.rejects.append("'dpkg-source -x' failed for %s [return code: %s]." % (dsc_filename, result)) - self.rejects.append(utils.prefix_multi_line_string(output, " [dpkg-source output:] "), "") + self.rejects.append(utils.prefix_multi_line_string(output, " [dpkg-source output:] ")) return if not cnf.Find("Dir::Queue::BTSVersionTrack"): @@ -1242,7 +1242,7 @@ class Upload(object): os.unlink(temp_filename) if (result != 0): self.rejects.append("lintian failed for %s [return code: %s]." % (self.pkg.changes_file, result)) - self.rejects.append(utils.prefix_multi_line_string(output, " [possible output:] "), "") + self.rejects.append(utils.prefix_multi_line_string(output, " [possible output:] ")) return if len(output) == 0: -- 2.39.5