From 3364b82717b7ef97e7fa53c1d1c44aa221245cb8 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Sat, 9 Jan 2010 12:22:42 +0100 Subject: [PATCH] fix function prod_maintainer() Signed-off-by: Torsten Werner --- dak/process_new.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dak/process_new.py b/dak/process_new.py index b8550fd1..74bae8fe 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -448,14 +448,13 @@ def add_overrides (new, upload, session): ################################################################################ -def prod_maintainer (note, upload): +def prod_maintainer (notes, upload): cnf = Config() # Here we prepare an editor and get them ready to prod... (fd, temp_filename) = utils.temp_filename() temp_file = os.fdopen(fd, 'w') - if len(note) > 0: - for line in note: - temp_file.write(line) + for note in notes: + temp_file.write(note.comment) temp_file.close() editor = os.environ.get("EDITOR","vi") answer = 'E' -- 2.39.5