From: Martin v. Löwis Date: Sun, 26 Jan 2003 09:01:30 +0000 (+0000) Subject: Merge with PyXML 1.34: Correct typo. Fixes #674700. X-Git-Tag: v2.3c1~2314 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=041411a1c70e0e01fb32864359990d4fd3a20f97;p=thirdparty%2FPython%2Fcpython.git Merge with PyXML 1.34: Correct typo. Fixes #674700. --- diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py index 5e769ca6cd34..59e3ac4fefb0 100644 --- a/Lib/xml/dom/expatbuilder.py +++ b/Lib/xml/dom/expatbuilder.py @@ -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