diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2003-06-29 04:50:34 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2003-06-29 04:50:34 (GMT) |
commit | bc05fc5d2b970a18686c71479f28372a24f97190 (patch) | |
tree | c4e4cf74d604c5dfc75a25caff9e456905c05093 /Lib/xml | |
parent | 11a35f545b39ebd09171869f9987dabd85f03254 (diff) | |
download | cpython-bc05fc5d2b970a18686c71479f28372a24f97190.zip cpython-bc05fc5d2b970a18686c71479f28372a24f97190.tar.gz cpython-bc05fc5d2b970a18686c71479f28372a24f97190.tar.bz2 |
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.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/dom/expatbuilder.py b/Lib/xml/dom/expatbuilder.py index 59e3ac4..47d81fb 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 |