]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_handle_multipart(): Fixes for SF bug #531966. Specifically two
authorBarry Warsaw <barry@python.org>
Fri, 22 Mar 2002 16:21:56 +0000 (16:21 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 22 Mar 2002 16:21:56 +0000 (16:21 +0000)
commit5516c7b319999cb7beb4bc1f7d07459e4390e852
tree0d285396070fe41ea7f20d1e7b0afd082d589ed1
parent25cf603523bf7bf715589fdcf2911e0be7552172
_handle_multipart(): Fixes for SF bug #531966.  Specifically two
situations are handled now: a multipart/* containing no payload
(i.e. never set), and a multipart/* containing a scalar payload
(i.e. Message.add_payload() having been called exactly once, not
passing in a sequence object).

_make_boundary(): Fixed bogus cut-n-paste error (self as first arg).

I will merge these changes into the standalone email package and
Python 2.3 separately.
Lib/email/Generator.py