summaryrefslogtreecommitdiff
path: root/Lib/xml
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:50:34 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2003-06-29 04:50:34 +0000
commitbfe6e915728568559773837e7f598ade21918664 (patch)
tree14d6527604207e6456f3706ff19ce1f299d95a03 /Lib/xml
parent8e298ab5d15e25632f90b6a4ee9aaf1388717ed0 (diff)
downloadcpython-bfe6e915728568559773837e7f598ade21918664.tar.gz
Add missing self. before curNode. This may need to be committed
to PyXML, I'm not sure of the procedure.
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/dom/expatbuilder.py2
1 files changed, 1 insertions, 1 deletions
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