Print sane time string rather than python tuple.
authorJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 09:23:27 +0000 (10:23 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 22 Nov 2010 09:23:27 +0000 (10:23 +0100)
buildfarm/web/__init__.py

index 08aeafe4fac3e7a8dba38f08134ed2c165e49c3c..e735941e32de34b456a12b52580fa7a5f135cde7 100755 (executable)
@@ -699,8 +699,7 @@ class ViewSummaryPage(BuildFarmPage):
 
         (host_count, broken_count, panic_count) = self._get_counts()
         # for the text report, include the current time
-        t = time.gmtime()
-        yield "Build status as of %s\n\n" % t
+        yield "Build status as of %s\n\n" % time.asctime()
 
         yield "Build counts:\n"
         yield "%-12s %-6s %-6s %-6s\n" % ("Tree", "Total", "Broken", "Panic")