2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

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

This commit is contained in:
Naoki Kambe
2011-04-15 19:19:11 +09:00
parent 1ea4834d96
commit af9f4f7fda

View File

@@ -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,