[Python-checkins] CVS: python/dist/src/Lib/email Message.py,1.5,1.6
Barry Warsaw
bwarsaw@users.sourceforge.net
Thu, 25 Oct 2001 15:43:48 -0700
Update of /cvsroot/python/python/dist/src/Lib/email
In directory usw-pr-cvs1:/tmp/cvs-serv11655/Lib/email
Modified Files:
Message.py
Log Message:
A fix for SF bug #472560, extra newlines returned by get_param() when
the separating semi-colon shows up on a continuation line (legal, but
weird).
Bug reported and fixed by Matthew Cowles. Test case and sample email
included.
Index: Message.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Message.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Message.py 2001/10/09 15:48:29 1.5
--- Message.py 2001/10/25 22:43:45 1.6
***************
*** 18,22 ****
SEMISPACE = '; '
! paramre = re.compile(r';\s*')
--- 18,22 ----
SEMISPACE = '; '
! paramre = re.compile(r'\s*;\s*')