From: Luca Falavigna Date: Mon, 13 Aug 2012 19:22:13 +0000 (+0000) Subject: Correctly load comments text while rejecting a package with comments X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef9ed7cc448cf38897ba172c59aaeef627c4be55;p=dak Correctly load comments text while rejecting a package with comments Signed-off-by: Luca Falavigna --- diff --git a/dak/process_new.py b/dak/process_new.py index 7a64277f..b3a4a3b6 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -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])