From: Michael Casadevall Date: Mon, 29 Dec 2008 22:22:17 +0000 (-0500) Subject: Fixed 822 queue report to actually print out the timestamp sanely X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=baa9c83f0a7dc7d4103037eae3fdfab4e4126264;p=dak Fixed 822 queue report to actually print out the timestamp sanely Signed-off-by: Michael Casadevall --- diff --git a/dak/queue_report.py b/dak/queue_report.py index 04ddaeda..31b11d8d 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(":")