summaryrefslogtreecommitdiffstats
path: root/Lib/xml
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-02-03 17:31:39 (GMT)
committerFred Drake <fdrake@acm.org>2005-02-03 17:31:39 (GMT)
commite4772f3ada185a40232c2e2c9a74694e815c9574 (patch)
treed26bc88d872bf86c2d3bd67dcc4aecf09eb0884b /Lib/xml
parentd06414257966a1551279d68ff3ab16316e459486 (diff)
downloadcpython-e4772f3ada185a40232c2e2c9a74694e815c9574.zip
cpython-e4772f3ada185a40232c2e2c9a74694e815c9574.tar.gz
cpython-e4772f3ada185a40232c2e2c9a74694e815c9574.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