mirror of https://github.com/python/cpython
Don't report a final chunk for an external entity parser.
This commit is contained in:
parent
ee1dc157d7
commit
2aa93efda0
|
@ -196,7 +196,6 @@ class ExpatParser(xmlreader.IncrementalParser, xmlreader.Locator):
|
|||
|
||||
try:
|
||||
xmlreader.IncrementalParser.parse(self, source)
|
||||
self._parser.Parse("",1)
|
||||
except:
|
||||
return 0 # FIXME: save error info here?
|
||||
|
||||
|
|
Loading…
Reference in New Issue