[Mailman-Developers] Quoting problem in 2.0
Georg Mischler
schorsch@schorsch.com
Wed, 3 Jan 2001 13:05:42 -0500 (EST)
Barry A. Warsaw wrote:
>
> You're right it is a simple fix, see below.
>
While you're at it... The following is also a simple fix,
which eliminates at least some of the "inexplicable" failures
to create HTML archives:
--- Mailbox.py Wed Jan 3 18:43:59 2001
+++ Mailbox.py Mon Dec 18 18:59:33 2000
@@ -27,7 +27,7 @@
class Mailbox(mailbox.UnixMailbox):
# a better regexp than the Python 1.5.2 default
_fromlinepattern = r'From \s*\S+\s+\w\w\w\s+\w\w\w\s+\d\d?\s+' \
- r'\d\d?:\d\d(:\d\d)?(\s+\S+)?\s+\d\d\d\d\s*$'
+ r'\d\d?:\d\d(:\d\d)?(\s+\S+)?\s+[+-]?\d\d\d\d\s*$'
_regexp = re.compile(_fromlinepattern)
def _isrealfromline(self, line):
The rationale for this change is posted here:
http://mail.python.org/pipermail/mailman-developers/2000-December/003518.html
I discovered the web based CVS-access in the mean time, so I was
now able to create a real patch against the most recent version.
Have fun!
-schorsch
--
Georg Mischler -- simulations developer -- schorsch at schorsch.com
+schorsch.com+ -- lighting design tools -- http://www.schorsch.com/