Skip to content

Commit 484daa7

Browse files
author
Richard Jones
committed
bugfix to this morning's mailgw subject RE change
1 parent df84aa7 commit 484daa7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

roundup/mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373
an exception, the original message is bounced back to the sender with the
7474
explanatory message given in the exception.
7575
76-
$Id: mailgw.py,v 1.91 2002-09-26 00:01:51 richard Exp $
76+
$Id: mailgw.py,v 1.92 2002-09-26 03:03:18 richard Exp $
7777
'''
7878

7979
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -131,7 +131,7 @@ def getPart(self):
131131
return Message(s)
132132

133133
subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re|aw)\s*\W?\s*)*'
134-
r'\s*(P<quote>")?(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])?'
134+
r'\s*(?P<quote>")?(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])?'
135135
r'\s*(?P<title>[^[]+)?"?(\[(?P<args>.+?)\])?', re.I)
136136

137137
class MailGW:

0 commit comments

Comments
 (0)