summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-02-03 17:30:46 (GMT)
committerFred Drake <fdrake@acm.org>2005-02-03 17:30:46 (GMT)
commitcc0cd71d4ee274e3f20605166144402bbf9fd352 (patch)
treebc223e1178361396fda824d4f93f66bc3c68b9e0 /Lib/xml
parent9ee3fb380ae02c5528dc0584c19b8153a0733808 (diff)
downloadcpython-cc0cd71d4ee274e3f20605166144402bbf9fd352.zip
cpython-cc0cd71d4ee274e3f20605166144402bbf9fd352.tar.gz
cpython-cc0cd71d4ee274e3f20605166144402bbf9fd352.tar.bz2
fix XMLFilterBase.resolveEntity() so the caller gets the result
(PyXML bug #1112052)
Diffstat (limited to 'Lib/xml')
-rw-r--r--Lib/xml/sax/saxutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/xml/sax/saxutils.py b/Lib/xml/sax/saxutils.py
index 11dd25b..582b008 100644
--- a/Lib/xml/sax/saxutils.py
+++ b/Lib/xml/sax/saxutils.py
@@ -232,7 +232,7 @@ class XMLFilterBase(xmlreader.XMLReader):
# EntityResolver methods
def resolveEntity(self, publicId, systemId):
- self._ent_handler.resolveEntity(publicId, systemId)
+ return self._ent_handler.resolveEntity(publicId, systemId)
# XMLReader methods