]> err.no Git - dak/commitdiff
Add fixes for broken prefix_multi_line_string calls.
authorChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 21:19:33 +0000 (21:19 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 21:19:33 +0000 (21:19 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
daklib/queue.py

index 7bdff49f8216563ceb077b1d9e0e32c4cfb65f60..cbdf57a3429a65cbf8d1dede7371e88ea37eb758 100755 (executable)
@@ -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: