[CalendarServer-changes] [1867] CalDAVTester/trunk/monitor.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Sep 11 10:26:02 PDT 2007


Revision: 1867
          http://trac.macosforge.org/projects/calendarserver/changeset/1867
Author:   cdaboo at apple.com
Date:     2007-09-11 10:26:01 -0700 (Tue, 11 Sep 2007)

Log Message:
-----------
Add current time to status output.

Modified Paths:
--------------
    CalDAVTester/trunk/monitor.py

Modified: CalDAVTester/trunk/monitor.py
===================================================================
--- CalDAVTester/trunk/monitor.py	2007-09-11 17:15:00 UTC (rev 1866)
+++ CalDAVTester/trunk/monitor.py	2007-09-11 17:26:01 UTC (rev 1867)
@@ -148,14 +148,14 @@
     def reportStart(html):
         if html:
             print """<html>
-<head><title>Server Status</title></head>
+<head><title>Server Status on %s</title></head>
 <body>
 
-"""
+""" % (str(datetime.datetime.now().replace(microsecond=0)))
         else:
-            print """Server Status
+            print """Server Status on %s
 
-"""
+""" % (str(datetime.datetime.now().replace(microsecond=0)))
 
     @staticmethod
     def reportEnd(html):

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20070911/48a2c2b3/attachment.html


More information about the calendarserver-changes mailing list