From: Joerg Jaspert Date: Wed, 15 Apr 2009 21:17:03 +0000 (+0200) Subject: prod_maintainer wants to take arguments now X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=fc303e144cec9be636452a94a518cdba7dbb371f;p=dak.git prod_maintainer wants to take arguments now Signed-off-by: Joerg Jaspert --- diff --git a/dak/process_new.py b/dak/process_new.py index b2315437..c33b3d36 100755 --- a/dak/process_new.py +++ b/dak/process_new.py @@ -569,9 +569,14 @@ def add_overrides (new): ################################################################################ -def prod_maintainer (): +def prod_maintainer (note): # 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) + temp_file.close() editor = os.environ.get("EDITOR","vi") answer = 'E' while answer == 'E':