]> git.decadent.org.uk Git - dak.git/commitdiff
Fixed 822 queue report to actually print out the timestamp sanely
authorMichael Casadevall <sonicmctails@gmail.com>
Mon, 29 Dec 2008 22:22:17 +0000 (17:22 -0500)
committerMichael Casadevall <sonicmctails@gmail.com>
Mon, 29 Dec 2008 22:22:17 +0000 (17:22 -0500)
Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
dak/queue_report.py

index 04ddaeda4bbfcb464d7c3a6bc7986074368d295f..31b11d8dd0c0957f0eafa22c4b5279c0c942d263 100755 (executable)
@@ -450,7 +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("Last-Modified: " + str(int(time.time()) - int(last_modified)) + "\n")
             log.write("Queue: " + type + "\n")
 
             (name, mail) = maint.split(":")