Commit 041411a1 authored by Martin v. Löwis's avatar Martin v. Löwis

Merge with PyXML 1.34: Correct typo. Fixes #674700.

parent 995359cb
......@@ -334,7 +334,7 @@ class ExpatBuilder:
node = self.document.createComment(data)
_append_child(self.curNode, node)
if self._filter and self._filter.acceptNode(node) == FILTER_REJECT:
curNode.removeChild(node)
self.curNode.removeChild(node)
def start_cdata_section_handler(self):
self._cdata = True
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment