[Python-checkins] python/dist/src/Lib mailbox.py,1.43,1.44
jlgijsbers at users.sourceforge.net
jlgijsbers at users.sourceforge.net
Sat Aug 21 14:30:29 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15151
Modified Files:
mailbox.py
Log Message:
Patch #880621: the last message of a Babyl mailbox ends in '\037' instead of
'\037\014\n' (see http://quimby.gnus.org/notes/BABYL) so look for that as well,
so that applications won't get '\037' as the last line of the last message.
Index: mailbox.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/mailbox.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -d -r1.43 -r1.44
--- mailbox.py 24 Jul 2004 19:54:44 -0000 1.43
+++ mailbox.py 21 Aug 2004 12:30:26 -0000 1.44
@@ -259,7 +259,7 @@
line = self.fp.readline()
if not line:
return
- if line == '\037\014\n':
+ if line == '\037\014\n' or line == '\037':
self.fp.seek(pos)
return
More information about the Python-checkins
mailing list