]> granicus.if.org Git - python/commit
Fix a more bytes/str confusion.
authorBarry Warsaw <barry@python.org>
Thu, 30 Aug 2007 02:10:49 +0000 (02:10 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 30 Aug 2007 02:10:49 +0000 (02:10 +0000)
commit8b3d659692b6d092991dc3b5b4042547f885fa8c
tree49fc0c7a89c31479389f2dfb38d71f519ba4cb23
parentce36ad8a467d914eb5c91f33835b9eaea18ee93b
Fix a more bytes/str confusion.

Use str.encode('raw-unicode-escape') consistently instead of bytes(string).

Remove the convert_eols argument from base64mime.decode().  This matches
previous API changes done to the quoprimime module.
Lib/email/base64mime.py
Lib/email/message.py
Lib/email/quoprimime.py
Lib/email/test/test_email.py