Add missing self. before curNode. This may need to be committed

to PyXML, I'm not sure of the procedure.
This commit is contained in:
Neal Norwitz 2003-06-29 04:50:34 +00:00
parent 11a35f545b
commit bc05fc5d2b
1 changed files with 1 additions and 1 deletions

View File

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