[Piuparts-commits] rev 608 - trunk

Holger Levsen holger at alioth.debian.org
Tue Dec 29 14:15:29 UTC 2009


Author: holger
Date: 2009-12-29 14:15:24 +0000 (Tue, 29 Dec 2009)
New Revision: 608

Modified:
   trunk/piuparts-report.py
Log:
fix html

Modified: trunk/piuparts-report.py
===================================================================
--- trunk/piuparts-report.py	2009-12-29 14:08:25 UTC (rev 607)
+++ trunk/piuparts-report.py	2009-12-29 14:15:24 UTC (rev 608)
@@ -912,7 +912,7 @@
     def write_state_pages(self):
         for state in self._binary_db.get_states():
             logging.debug("Writing page for %s" % state)
-            list = "<ul>\n"
+            list = ""
             for package in self._binary_db.get_packages_in_state(state):
                 list += "<li id=\"%s\">%s (%s)" % (
                                          package["Package"],
@@ -926,7 +926,6 @@
                                   emphasize_reason(html_protect(self._binary_db.state_by_name(dep))))
                     list += "</ul>\n"
                 list += "</li>\n"
-            list += "</ul>\n"
             htmlpage = string.Template(HTML_HEADER + STATE_BODY_TEMPLATE + HTML_FOOTER)
             write_file(os.path.join(self._output_directory, "state-%s.html" % state), htmlpage.safe_substitute( {
                                         "section_navigation": create_section_navigation(self._section_names,self._config.section),




More information about the Piuparts-commits mailing list