[Python-checkins] python/dist/src/Lib/email Charset.py,1.10,1.11
bwarsaw@users.sourceforge.net
bwarsaw@users.sourceforge.net
Sun, 20 Oct 2002 22:29:55 -0700
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv22916
Modified Files:
Charset.py
Log Message:
body_encode(): Fixed typo reported by Chris Lawrence, closing SF bug
#625509. This isn't a huge problem because at the moment there are no
built-in charsets for which header_encoding is QP but body_encoding is
not.
Index: Charset.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Charset.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** Charset.py 14 Oct 2002 15:06:55 -0000 1.10
--- Charset.py 21 Oct 2002 05:29:53 -0000 1.11
***************
*** 349,353 ****
if self.body_encoding is BASE64:
return email.base64MIME.body_encode(s)
! elif self.header_encoding is QP:
return email.quopriMIME.body_encode(s)
else:
--- 349,353 ----
if self.body_encoding is BASE64:
return email.base64MIME.body_encode(s)
! elif self.body_encoding is QP:
return email.quopriMIME.body_encode(s)
else: