diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2000-10-06 21:10:34 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2000-10-06 21:10:34 (GMT) |
commit | 2aa93efda0d2b99a48c14cd777e523934bf51aa8 (patch) | |
tree | 608455ab4a965a44ea77f7735d0d688bf3c57e94 /Lib/xml/sax/expatreader.py | |
parent | ee1dc157d7f425d8fdd12de098097441b4f17798 (diff) | |
download | cpython-2aa93efda0d2b99a48c14cd777e523934bf51aa8.zip cpython-2aa93efda0d2b99a48c14cd777e523934bf51aa8.tar.gz cpython-2aa93efda0d2b99a48c14cd777e523934bf51aa8.tar.bz2 |
Don't report a final chunk for an external entity parser.
Diffstat (limited to 'Lib/xml/sax/expatreader.py')
-rw-r--r-- | Lib/xml/sax/expatreader.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/xml/sax/expatreader.py b/Lib/xml/sax/expatreader.py index cc2f7ea..14bc087 100644 --- a/Lib/xml/sax/expatreader.py +++ b/Lib/xml/sax/expatreader.py @@ -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? |