]> granicus.if.org Git - python/commit
Fix SF bug # 1030941. In _parsegen(), in the clause where we're
authorBarry Warsaw <barry@python.org>
Sat, 9 Oct 2004 23:00:11 +0000 (23:00 +0000)
committerBarry Warsaw <barry@python.org>
Sat, 9 Oct 2004 23:00:11 +0000 (23:00 +0000)
commitdee0cf12e3430e146738fd0d7a16a35071e3b913
tree49550efa1ae9e834f5be3241b8c9d830c40fd4ee
parent6bd55ee1ef98ddf72a2707f64e3a8606b2e3da05
Fix SF bug # 1030941.  In _parsegen(), in the clause where we're
capturing_preamble but we found a StartBoundaryNotFoundDefect, we need to
consume all lines from the current position to the EOF, which we'll set as the
epilogue of the current message.  If we're not at EOF when we return from
here, the outer message's capturing_preamble assertion will fail.
Lib/email/FeedParser.py