changeset 61:8ce9607eefbb

add a timestamp for the entire report
author Bernhard Herzog <bh@intevation.de>
date Tue, 10 Apr 2007 20:14:47 +0200
parents ee32f709a374
children b076e3895482
files treepkg/report.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/treepkg/report.py	Tue Apr 10 20:14:01 2007 +0200
+++ b/treepkg/report.py	Tue Apr 10 20:14:47 2007 +0200
@@ -7,6 +7,8 @@
 
 """Support for status reports"""
 
+import datetime
+
 from packager import create_package_track, PackagerGroup
 from readconfig import read_config
 
@@ -83,4 +85,5 @@
     revisions.reverse()
 
     return struct(columns=columns,
-                  revisions=revisions)
+                  revisions=revisions,
+                  date=format_time(datetime.datetime.utcnow()))
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)