From: Neal Norwitz Date: Sun, 29 Jun 2003 04:50:34 +0000 (+0000) Subject: Add missing self. before curNode. This may need to be committed X-Git-Tag: v2.3c1~261 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bc05fc5d2b970a18686c71479f28372a24f97190;p=python Add missing self. before curNode. This may need to be committed to PyXML, I'm not sure of the procedure. --- diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py index 59e3ac4fef..47d81fb1e9 100644 --- a/Lib/xml/dom/expatbuilder.py +++ b/Lib/xml/dom/expatbuilder.py @@ -269,7 +269,7 @@ class ExpatBuilder: node = self.document.createProcessingInstruction(target, data) _append_child(self.curNode, node) if self._filter and self._filter.acceptNode(node) == FILTER_REJECT: - curNode.removeChild(node) + self.curNode.removeChild(node) def character_data_handler_cdata(self, data): childNodes = self.curNode.childNodes