X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fqueue_report.py;h=04ddaeda4bbfcb464d7c3a6bc7986074368d295f;hb=656008883f0b05b8d27ef12217dc69be4714ddbf;hp=ea0802a8a6476630f288e0d109c1d71462753a0a;hpb=0ddf48d28bcd76e301d1c8a87e5ae6e725701157;p=dak.git diff --git a/dak/queue_report.py b/dak/queue_report.py index ea0802a8..04ddaeda 100755 --- a/dak/queue_report.py +++ b/dak/queue_report.py @@ -450,6 +450,7 @@ def process_changes_files(changes_files, type, log): log.write("Architectures: ") log.write( (", ".join(arch_list.split(" "))) + "\n") log.write("Age: " + time_pp(last_modified) + "\n") + log.write("Last-Modified: " + time.asctime(time.time() - last_modified) + "\n") log.write("Queue: " + type + "\n") (name, mail) = maint.split(":") @@ -534,6 +535,7 @@ def main(): if not directories: directories = [ "byhand", "new" ] + f = None if Cnf.has_key("Queue-Report::Options::822"): # Open the report file f = open(Cnf["Queue-Report::ReportLocations::822Location"], "w")