[Zope3-checkins] CVS: Zope3/utilities - XXXreport2html.py:1.3

Christian Theune ct@gocept.com
Mon, 9 Dec 2002 15:42:07 -0500


Update of /cvs-repository/Zope3/utilities
In directory cvs.zope.org:/tmp/cvs-serv14222

Modified Files:
	XXXreport2html.py 
Log Message:
Added date tag for generated html


=== Zope3/utilities/XXXreport2html.py 1.2 => 1.3 ===
--- Zope3/utilities/XXXreport2html.py:1.2	Sat Dec  7 12:37:35 2002
+++ Zope3/utilities/XXXreport2html.py	Mon Dec  9 15:42:07 2002
@@ -19,6 +19,7 @@
 """
 
 import sys
+import time
 
 
 if len(sys.argv) < 3:
@@ -59,6 +60,7 @@
 
 <body>
 <h1>Zope 3 - Developer report tools: XXX/TODO comments</h1>
+<p>Generated on %(reporttime)s</p>
 <hr>
 <h3>Summary</h3>
 <p>
@@ -66,7 +68,9 @@
 </p>
 <hr/>
 <h3>Listing</h3>
-<ol>""" % {"commentcount" : len(comments)})
+<ol>""" % {"commentcount" : len(comments),
+           "reporttime" : time.strftime("%a, %d %b %Y %H:%M:%S %Z", time.localtime())
+          })
 
 # Write the comments down