]> err.no Git - dak/commitdiff
fix function prod_maintainer()
authorTorsten Werner <twerner@debian.org>
Sat, 9 Jan 2010 11:22:42 +0000 (12:22 +0100)
committerTorsten Werner <twerner@debian.org>
Sat, 9 Jan 2010 11:26:22 +0000 (12:26 +0100)
Signed-off-by: Torsten Werner <twerner@debian.org>
dak/process_new.py

index b8550fd10714bc6c1cba83fc19209a44d423e345..74bae8fe4cef50f98e52c5bf39837c5664a4d0bb 100755 (executable)
@@ -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'