[Piuparts-commits] rev 631 - trunk
Holger Levsen
holger at alioth.debian.org
Thu Jan 7 10:21:32 UTC 2010
Author: holger
Date: 2010-01-07 10:21:30 +0000 (Thu, 07 Jan 2010)
New Revision: 631
Modified:
trunk/piuparts-report.py
Log:
harmonize page title
Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py 2010-01-06 15:18:52 UTC (rev 630)
+++ trunk/piuparts-report.py 2010-01-07 10:21:30 UTC (rev 631)
@@ -704,7 +704,7 @@
filename = template_path+".html"
f = file(filename, "w")
f.write(htmlpage.safe_substitute( {
- "page_title": html_protect("Status for "+os.path.basename(maint_tpl[:-len("_tpl")])+" in "+self._config.section),
+ "page_title": html_protect("Status of "+os.path.basename(maint_tpl[:-len("_tpl")])+" packages in "+self._config.section),
"section_navigation": create_section_navigation(self._section_names,self._config.section),
"time": time.strftime("%Y-%m-%d %H:%M %Z"),
"rows": rows,
@@ -757,7 +757,7 @@
htmlpage = string.Template(HTML_HEADER + SOURCE_PACKAGE_BODY_TEMPLATE + HTML_FOOTER)
f = file(filename, "w")
f.write(htmlpage.safe_substitute( {
- "page_title": html_protect("Status of source package "+source),
+ "page_title": html_protect("Status of source package "+source+" in "+self._config.section),
"section_navigation": create_section_navigation(self._section_names,self._config.section),
"time": time.strftime("%Y-%m-%d %H:%M %Z"),
"rows": sourcerows+binaryrows,
More information about the Piuparts-commits
mailing list