diff options
author | Fred Drake <fdrake@acm.org> | 2005-02-03 17:31:39 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2005-02-03 17:31:39 (GMT) |
commit | e4772f3ada185a40232c2e2c9a74694e815c9574 (patch) | |
tree | d26bc88d872bf86c2d3bd67dcc4aecf09eb0884b /Lib/xml | |
parent | d06414257966a1551279d68ff3ab16316e459486 (diff) | |
download | cpython-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.py | 2 |
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 |