fix useless named variable
@@ -137,15 +137,15 @@ def read_deps_from_xml(target, xml_elem):
def dump_deps_to_xml(subject, xml_elem):
""" Dump Dependencies To XML """
if subject.build_depends:
- build_dep_elem = etree.SubElement(xml_elem, tag="depends")
+ build_dep_elem = etree.SubElement(xml_elem, "depends")
build_dep_elem.set("buildtime", "true")
build_dep_elem.set("names", " ".join(subject.build_depends))
if subject.run_depends:
- runtime_dep_elem = etree.SubElement(xml_elem, tag="depends")
+ runtime_dep_elem = etree.SubElement(xml_elem, "depends")
runtime_dep_elem.set("runtime", "true")
runtime_dep_elem.set("names", " ".join(subject.run_depends))
if subject.test_depends:
- test_dep_elem = etree.SubElement(xml_elem, tag="depends")
+ test_dep_elem = etree.SubElement(xml_elem, "depends")
test_dep_elem.set("testtime", "true")
test_dep_elem.set("names", " ".join(subject.test_depends))
