Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e4772f3

Browse files
committed
fix XMLFilterBase.resolveEntity() so the caller gets the result
(PyXML bug #1112052)
1 parent d064142 commit e4772f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/xml/sax/saxutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def unparsedEntityDecl(self, name, publicId, systemId, ndata):
232232
# EntityResolver methods
233233

234234
def resolveEntity(self, publicId, systemId):
235-
self._ent_handler.resolveEntity(publicId, systemId)
235+
return self._ent_handler.resolveEntity(publicId, systemId)
236236

237237
# XMLReader methods
238238

0 commit comments

Comments
 (0)