]> git.decadent.org.uk Git - dak.git/blobdiff - dak/queue_report.py
Added Last-Modified field for QA team
[dak.git] / dak / queue_report.py
index ea0802a8a6476630f288e0d109c1d71462753a0a..04ddaeda4bbfcb464d7c3a6bc7986074368d295f 100755 (executable)
@@ -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")