]> git.decadent.org.uk Git - dak.git/commitdiff
Join is str.join, not list.join
authorChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 19:03:43 +0000 (19:03 +0000)
committerChris Lamb <lamby@debian.org>
Thu, 29 Oct 2009 19:03:43 +0000 (19:03 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/process_new.py

index 9a6c8e330f787b7828a5ee14e8db8a21064c4e58..0b60927dae6fd9f2b213b871a86e6495c54a66b4 100755 (executable)
@@ -113,7 +113,7 @@ def recheck(upload, session):
         if Options["No-Action"] or Options["Automatic"] or Options["Trainee"]:
             answer = 'S'
 
-        print "REJECT\n" + upload.rejects.join("\n"),
+        print "REJECT\n" + '\n'.join(upload.rejects)
         prompt = "[R]eject, Skip, Quit ?"
 
         while prompt.find(answer) == -1: