From: Fred Drake Date: Thu, 3 Feb 2005 17:31:39 +0000 (+0000) Subject: fix XMLFilterBase.resolveEntity() so the caller gets the result X-Git-Tag: v2.5a0~2064 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e4772f3ada185a40232c2e2c9a74694e815c9574;p=thirdparty%2FPython%2Fcpython.git fix XMLFilterBase.resolveEntity() so the caller gets the result (PyXML bug #1112052) --- diff --git a/Lib/xml/sax/saxutils.py b/Lib/xml/sax/saxutils.py index 11dd25bbe216..582b0089c4bf 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