]> granicus.if.org Git - python/commit
_parsebody(): When adding subparts to a multipart container, make sure
authorBarry Warsaw <barry@python.org>
Sun, 27 Jan 2002 06:48:02 +0000 (06:48 +0000)
committerBarry Warsaw <barry@python.org>
Sun, 27 Jan 2002 06:48:02 +0000 (06:48 +0000)
commit15e9dc9eac219775aa70e57652810a187584d7c6
treefa8018a787ae13dca64383f2d88771f5b2153535
parent84432eb4c07ac812f140dae06633e73896449d39
_parsebody(): When adding subparts to a multipart container, make sure
that the first subpart added makes the payload a list object.
Otherwise, a multipart/* with only one subpart will not have the
proper structure.
Lib/email/Parser.py