From: Joerg Jaspert Date: Wed, 15 Apr 2009 21:14:58 +0000 (+0200) Subject: Oh my, all for well tested patches X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39327828e659bb8b3c34f34d95d8bbfd33b470f8;p=dak Oh my, all for well tested patches Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index bb253320..b2315437 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -477,7 +477,7 @@ def edit_note(note): newnote = temp_file.read().rstrip() temp_file.close() print "New Note:" - print utils.prefix_multi_line_string(note," ") + print utils.prefix_multi_line_string(newnote," ") prompt = "[D]one, Edit, Abandon, Quit ?" answer = "XXX" while prompt.find(answer) == -1: @@ -492,7 +492,7 @@ def edit_note(note): elif answer == 'Q': end() sys.exit(0) - database.add_new_comment(Upload.pkg.changes["source"], Upload.pkg.changes["version"], note, utils.whoami()) + database.add_new_comment(Upload.pkg.changes["source"], Upload.pkg.changes["version"], newnote, utils.whoami()) ################################################################################