From 39327828e659bb8b3c34f34d95d8bbfd33b470f8 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Wed, 15 Apr 2009 23:14:58 +0200 Subject: [PATCH] Oh my, all for well tested patches Signed-off-by: Joerg Jaspert --- dak/process_new.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) ################################################################################ -- 2.39.5