]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
_parsebody(): Use get_content_type() instead of the deprecated
authorBarry Warsaw <barry@python.org>
Mon, 7 Oct 2002 17:02:40 +0000 (17:02 +0000)
committerBarry Warsaw <barry@python.org>
Mon, 7 Oct 2002 17:02:40 +0000 (17:02 +0000)
commitd5613bacbdbc6459e2f37ab64d8dc6129df7dc37
treea1fd7e8692f974456e37a42dbb911e5a855a71ab
parent753eb68947ff31ef51033dc19a04627f8beb021b
_parsebody(): Use get_content_type() instead of the deprecated
get_type().  Also, one of the regular expressions is constant so might
as well make it a module global.  And, when splitting up digests,
handle lineseps that are longer than 1 character in length
(e.g. \r\n).
Lib/email/Parser.py