[dak/master] Fixed 822 queue report to actually print out the timestamp sanely
Signed-off-by: Michael Casadevall <sonicmctails@gmail.com>
---
dak/queue_report.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/queue_report.py b/dak/queue_report.py
index 04ddaed..31b11d8 100755
--- a/dak/queue_report.py
+++ b/dak/queue_report.py
@@ -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(":")
--
1.5.6.5
Reply to: