html_tools/docs: Remove comments

pull/2351/head
Constantin Hong 8 months ago
parent ed2aaf4cab
commit dd8b4fe922

@ -135,10 +135,8 @@ def forest_transplanting(root):
if Is_fragment: if Is_fragment:
new_root = etree.Element("new_root") new_root = etree.Element("new_root")
root_siblings_preceding.reverse() root_siblings_preceding.reverse()
#tree = etree.ElementTree(new_root)
for node in chain(root_siblings_preceding, [root], root_siblings): for node in chain(root_siblings_preceding, [root], root_siblings):
new_root.append(node) new_root.append(node)
#print(new_root.getchildren())
return new_root, True return new_root, True
return root, False return root, False

Loading…
Cancel
Save