summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2000-10-06 21:10:34 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2000-10-06 21:10:34 (GMT)
commit2aa93efda0d2b99a48c14cd777e523934bf51aa8 (patch)
tree608455ab4a965a44ea77f7735d0d688bf3c57e94 /Lib
parentee1dc157d7f425d8fdd12de098097441b4f17798 (diff)
downloadcpython-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')
-rw-r--r--Lib/xml/sax/expatreader.py1
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?