From ef9ed7cc448cf38897ba172c59aaeef627c4be55 Mon Sep 17 00:00:00 2001 From: Luca Falavigna Date: Mon, 13 Aug 2012 19:22:13 +0000 Subject: [PATCH] Correctly load comments text while rejecting a package with comments Signed-off-by: Luca Falavigna --- dak/process_new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]) -- 2.39.5