[Piuparts-commits] rev 282 - in trunk: . debian
Holger Levsen
holger at alioth.debian.org
Wed Mar 18 16:07:05 UTC 2009
Author: holger
Date: 2009-03-18 16:07:05 +0000 (Wed, 18 Mar 2009)
New Revision: 282
Modified:
trunk/debian/changelog
trunk/piuparts-report.py
trunk/piuparts-slave.py
Log:
Always use alphabetic time zone abbreviation in timestamps.
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2009-03-18 14:36:15 UTC (rev 281)
+++ trunk/debian/changelog 2009-03-18 16:07:05 UTC (rev 282)
@@ -34,6 +34,7 @@
value "sections".
- provide links to logfiles in statistics page.
- improve look.
+ * Always use alphabetic time zone abbreviation in timestamps.
* Makefile: add "~$date" to versionstring if building an unreleased version.
* debian/control: depend on python (>>2.4), make dependency to python-debian
unversioned and add build-dependencies for debhelper and asciidoc.
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2009-03-18 14:36:15 UTC (rev 281)
+++ trunk/piuparts-report.py 2009-03-18 16:07:05 UTC (rev 282)
@@ -99,7 +99,9 @@
<hr>
<div id="footer">
<div>
- piuparts was written by <a href="mailto:liw at iki.fi">Lars Wirzenius</a> and is now maintained by <a href="mailto:holger at layer-acht.org">Holger Levsen</a> and others. GPL2 licenced.
+ piuparts was written by <a href="mailto:liw at iki.fi">Lars Wirzenius</a> and is now maintained by
+ <a href="mailto:holger at debian.org">Holger Levsen</a>,
+ <a href="mailto:luk at debian.org">Luk Claes</a> and others. GPL2 licenced.
</div>
<div>
<a href="http://validator.w3.org/check?uri=referer">
@@ -283,7 +285,7 @@
"loglist": "".join(lines),
"count": len(logs),
"versioncount": version_count,
- "time": time.strftime("%Y-%m-%d %H:%M:%S %z"),
+ "time": time.strftime("%Y-%m-%d %H:%M %Z"),
} + HTML_FOOTER)
f.close()
@@ -401,7 +403,7 @@
write_file(os.path.join(self._output_directory, "index.html"),
HTML_HEADER + SECTION_STATS_BODY_TEMPLATE % {
"packages-url": html_protect(self._config["packages-url"]),
- "time": time.strftime("%Y-%m-%d %H:%M:%S %z"),
+ "time": time.strftime("%Y-%m-%d %H:%M %Z"),
"table": table,
} + HTML_FOOTER)
@@ -424,7 +426,7 @@
"state-%s.html" % state),
HTML_HEADER + STATE_BODY_TEMPLATE % {
"state": html_protect(state),
- "time": time.strftime("%Y-%m-%d %H:%M:%S %z"),
+ "time": time.strftime("%Y-%m-%d %H:%M %Z"),
"list": list
} + HTML_FOOTER)
@@ -456,7 +458,7 @@
write_file(report_config["index-page"],
HTML_HEADER + INDEX_BODY_TEMPLATE %
{
- "time": time.strftime("%Y-%m-%d %H:%M:%S %z"),
+ "time": time.strftime("%Y-%m-%d %H:%M %Z"),
} + HTML_FOOTER)
if __name__ == "__main__":
Modified: trunk/piuparts-slave.py
===================================================================
--- trunk/piuparts-slave.py 2009-03-18 14:36:15 UTC (rev 281)
+++ trunk/piuparts-slave.py 2009-03-18 16:07:05 UTC (rev 282)
@@ -325,7 +325,7 @@
logging.debug("Opening log file %s" % output_name)
new_name = os.path.join("new", output_name)
output = file(new_name, "w")
- output.write(time.strftime("Start: %Y-%m-%d %H:%M:%S UTC\n",
+ output.write(time.strftime("Start: %Y-%m-%d %H:%M:%S %Z\n",
time.gmtime()))
output.write("\n")
package.dump(output)
@@ -364,7 +364,7 @@
status = 0
output.write("\n")
- output.write(time.strftime("End: %Y-%m-%d %H:%M:%S UTC\n",
+ output.write(time.strftime("End: %Y-%m-%d %H:%M:%S %Z\n",
time.gmtime()))
output.close()
if not os.WIFEXITED(status) or os.WEXITSTATUS(status) != 0:
More information about the Piuparts-commits
mailing list