commit | e4aeb7d1f1e1029133b2c722bd239a8cc18e8f47 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sat May 15 16:26:28 2004 +0000 |
committer | Barry Warsaw <barry@python.org> | Sat May 15 16:26:28 2004 +0000 |
tree | 93da07643baf390c48450db0958f0ad825b69441 | |
parent | 97b6484dc4290479db0ab29520bb1324d440b5fc [diff] [blame] |
_parsegen(): Add a missing check for NeedMoreData.
diff --git a/Lib/email/FeedParser.py b/Lib/email/FeedParser.py index ac3769d..af0e177 100644 --- a/Lib/email/FeedParser.py +++ b/Lib/email/FeedParser.py
@@ -314,6 +314,9 @@ # 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)