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

This commit is contained in:
Martin v. Löwis 2003-01-26 09:01:30 +00:00
parent 995359cbe8
commit 041411a1c7
1 changed files with 1 additions and 1 deletions

View File

@ -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