From: Fred Drake Date: Thu, 3 Feb 2005 17:29:32 +0000 (+0000) Subject: fix XMLFilterBase.resolveEntity() so the caller gets the result X-Git-Tag: v2.3.5~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d30042d45f83ded3a149ad2a29982cd6fa478b0c;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 3402a02dadcc..710f2a8938aa 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