summaryrefslogtreecommitdiff
path: root/Lib/xml/sax/saxutils.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2005-02-03 17:31:39 +0000
committerFred Drake <fdrake@acm.org>2005-02-03 17:31:39 +0000
commite4772f3ada185a40232c2e2c9a74694e815c9574 (patch)
treed26bc88d872bf86c2d3bd67dcc4aecf09eb0884b /Lib/xml/sax/saxutils.py
parentd06414257966a1551279d68ff3ab16316e459486 (diff)
downloadcpython-git-e4772f3ada185a40232c2e2c9a74694e815c9574.tar.gz
fix XMLFilterBase.resolveEntity() so the caller gets the result
(PyXML bug #1112052)
Diffstat (limited to 'Lib/xml/sax/saxutils.py')
-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 11dd25bbe2..582b0089c4 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