[Python-checkins] CVS: python/dist/src/Lib mhlib.py

Guido van Rossum guido@cnri.reston.va.us
Wed, 24 Feb 1999 11:25:20 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
Log Message:
Patch by Lars Wirzenius:

	o the initial comment is wrong: creating messages is already

	o Message.getbodytext: if the mail or it's part contains an
	  empty content-transfer-encoding header, the code used to
	  break; the change below treats an empty encoding value the same
	  as the other types that do not need decoding

	o SubMessage.getbodytext was missing the decode argument; the
	  change below adds it; I also made it unconditionally return
	  the raw text if decoding was not desired, because my own
	  routines needed that (and it was easier than rewriting my
	  own routines ;-)