]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix XMLFilterBase.resolveEntity() so the caller gets the result
authorFred Drake <fdrake@acm.org>
Thu, 3 Feb 2005 17:29:32 +0000 (17:29 +0000)
committerFred Drake <fdrake@acm.org>
Thu, 3 Feb 2005 17:29:32 +0000 (17:29 +0000)
(PyXML bug #1112052)

Lib/xml/sax/saxutils.py

index 3402a02dadcc52b45284fb5ecfe84b6f5e35a486..710f2a8938aa164a4416c288dd98da51fc610ce7 100644 (file)
@@ -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