From d30042d45f83ded3a149ad2a29982cd6fa478b0c Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Thu, 3 Feb 2005 17:29:32 +0000 Subject: [PATCH] fix XMLFilterBase.resolveEntity() so the caller gets the result (PyXML bug #1112052) --- Lib/xml/sax/saxutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3