diff options
author | R David Murray <rdmurray@bitdance.com> | 2012-05-28 02:20:42 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2012-05-28 02:20:42 (GMT) |
commit | 7ef3ff3f2ea77f496f5386c3ede74f95001a6009 (patch) | |
tree | ab17160f5d03de8fa54f02ceb2b38e3f769156a1 /Lib/email/errors.py | |
parent | d0a0e8e070f1c3c74905627380473f21f5457cfb (diff) | |
download | cpython-7ef3ff3f2ea77f496f5386c3ede74f95001a6009.zip cpython-7ef3ff3f2ea77f496f5386c3ede74f95001a6009.tar.gz cpython-7ef3ff3f2ea77f496f5386c3ede74f95001a6009.tar.bz2 |
#12515: email now registers a defect if the MIME end boundary is missing.
This commit also restores the news item for 167256 that it looks like
Terry inadvertently deleted. (Either that, or I don't understand
now merging works...which is equally possible.)
Diffstat (limited to 'Lib/email/errors.py')
-rw-r--r-- | Lib/email/errors.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/email/errors.py b/Lib/email/errors.py index aa836d4..d80b5b9 100644 --- a/Lib/email/errors.py +++ b/Lib/email/errors.py @@ -42,6 +42,9 @@ class NoBoundaryInMultipartDefect(MessageDefect): class StartBoundaryNotFoundDefect(MessageDefect): """The claimed start boundary was never found.""" +class CloseBoundaryNotFoundDefect(MessageDefect): + """A start boundary was found, but not the corresponding close boundary.""" + class FirstHeaderLineIsContinuationDefect(MessageDefect): """A message had a continuation line as its first header line.""" |