]> git.decadent.org.uk Git - dak.git/blobdiff - daklib/queue.py
Fix note display in Prod and Manual reject mode
[dak.git] / daklib / queue.py
index e81614c3e742e89a2b1b8c6538e8f65a712bcbe5..547972ed0932b6af669e836e96a61dbfcbdf100d 100644 (file)
@@ -108,8 +108,7 @@ def prod_maintainer(notes, upload):
     # Here we prepare an editor and get them ready to prod...
     (fd, temp_filename) = utils.temp_filename()
     temp_file = os.fdopen(fd, 'w')
-    for note in notes:
-        temp_file.write(note.comment)
+    temp_file.write("\n\n=====\n\n".join([note.comment for note in notes]))
     temp_file.close()
     editor = os.environ.get("EDITOR","vi")
     answer = 'E'