Browse Source

[trac547] removed unnecessary assertion to check number of list because there can be empty list in future

Naoki Kambe 14 years ago
parent
commit
af9f4f7fda
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/bin/stats/stats_httpd.py.in

+ 0 - 1
src/bin/stats/stats_httpd.py.in

@@ -435,7 +435,6 @@ class StatsHttpd:
             elem.text = v
             xml_list.append(
                 xml.etree.ElementTree.tostring(elem))
-        assert len(xml_list) > 0
         xml_string = "".join(xml_list)
         self.xml_body = self.open_template(XML_TEMPLATE_LOCATION).substitute(
             xml_string=xml_string,