From: Chris Lamb Date: Tue, 27 Oct 2009 21:19:33 +0000 (+0000) Subject: Add fixes for broken prefix_multi_line_string calls. X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=b63fcd0267b0effdb445f3da7cea35830e85eed4;p=dak.git Add fixes for broken prefix_multi_line_string calls. Signed-off-by: Chris Lamb --- 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: