]> git.decadent.org.uk Git - dak.git/commitdiff
Correctly load comments text while rejecting a package with comments
authorLuca Falavigna <dktrkranz@debian.org>
Mon, 13 Aug 2012 19:22:13 +0000 (19:22 +0000)
committerLuca Falavigna <dktrkranz@debian.org>
Mon, 13 Aug 2012 19:22:13 +0000 (19:22 +0000)
Signed-off-by: Luca Falavigna <dktrkranz@debian.org>
dak/process_new.py

index 7a64277f23205d9bf8a2c4f611f5931c27f39f3b..b3a4a3b61ad22a90101fdc9b460376a1c04f94da 100755 (executable)
@@ -525,7 +525,7 @@ def do_new(upload, upload_copy, handler, session):
             missing = edit_overrides (missing, upload, session)
         elif answer == 'M' and not Options["Trainee"]:
             reason = Options.get('Manual-Reject', '') + "\n"
-            reason = reason + "\n".join(get_new_comments(upload.changes.source, session=session))
+            reason = reason + "\n".join([n.comment for n in get_new_comments(upload.changes.source, session=session)])
             reason = get_reject_reason(reason)
             if reason is not None:
                 Logger.log(["NEW REJECT", upload.changes.changesname])