From e4aeb7d1f1e1029133b2c722bd239a8cc18e8f47 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Sat, 15 May 2004 16:26:28 +0000 Subject: [PATCH] _parsegen(): Add a missing check for NeedMoreData. --- Lib/email/FeedParser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Lib/email/FeedParser.py b/Lib/email/FeedParser.py index ac3769d4b2..af0e177d56 100644 --- a/Lib/email/FeedParser.py +++ b/Lib/email/FeedParser.py @@ -314,6 +314,9 @@ class FeedParser: # body parts within such double boundaries. while True: line = self._input.readline() + if line is NeedMoreData: + yield NeedMoreData + continue mo = boundaryre.match(line) if not mo: self._input.unreadline(line) -- 2.50.1