[Piuparts-commits] rev 629 - trunk

Holger Levsen holger at alioth.debian.org
Wed Jan 6 14:42:52 UTC 2010


Author: holger
Date: 2010-01-06 14:42:50 +0000 (Wed, 06 Jan 2010)
New Revision: 629

Modified:
   trunk/piuparts-report.py
Log:
fix maintainer address in page title

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2010-01-06 14:23:59 UTC (rev 628)
+++ trunk/piuparts-report.py	2010-01-06 14:42:50 UTC (rev 629)
@@ -704,7 +704,7 @@
             filename = template_path+".html"
             f = file(filename, "w")
             f.write(htmlpage.safe_substitute( {
-               "page_title": html_protect("Status for "+maint_tpl[:-len("_tpl")]+" in "+self._config.section),               
+               "page_title": html_protect("Status for "+os.path.basename(maint_tpl[:-len("_tpl")])+" 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,




More information about the Piuparts-commits mailing list