]> git.decadent.org.uk Git - dak.git/commitdiff
Oh my, all for well tested patches
authorJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:14:58 +0000 (23:14 +0200)
committerJoerg Jaspert <joerg@debian.org>
Wed, 15 Apr 2009 21:14:58 +0000 (23:14 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/process_new.py

index bb2533204800b393d08b42c5e3b46c1fc061f407..b231543717827fe5aafbd75a41cfc2a82cebaffb 100755 (executable)
@@ -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())
 
 ################################################################################