mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 23:15:20 +00:00
[trac547] removed unnecessary assertion to check number of list because there can be empty list in future
This commit is contained in:
@@ -435,7 +435,6 @@ class StatsHttpd:
|
|||||||
elem.text = v
|
elem.text = v
|
||||||
xml_list.append(
|
xml_list.append(
|
||||||
xml.etree.ElementTree.tostring(elem))
|
xml.etree.ElementTree.tostring(elem))
|
||||||
assert len(xml_list) > 0
|
|
||||||
xml_string = "".join(xml_list)
|
xml_string = "".join(xml_list)
|
||||||
self.xml_body = self.open_template(XML_TEMPLATE_LOCATION).substitute(
|
self.xml_body = self.open_template(XML_TEMPLATE_LOCATION).substitute(
|
||||||
xml_string=xml_string,
|
xml_string=xml_string,
|
||||||
|
Reference in New Issue
Block a user