Commits

Geoffrey Sneddon committed 28ef05e

Yes, I can't get variable names right.

Comments (0)

Files changed (1)

anolislib/utils.py

                 else:
                     child.getparent().text += child.tail
         # Get ready to remove the element
-        to_remove.add(element)
+        to_remove.add(child)
         
     # Remove to_remove nodes
     for node in to_remove: