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:
@@ -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,
|
||||
|
Reference in New Issue
Block a user