Mercurial > p > roundup > code
changeset 573:f0513f650042
handle stripping of "AW:" from subject line
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 22 Jan 2002 22:27:43 +0000 |
| parents | 3f42b0f90c7c |
| children | d41d94511170 |
| files | CHANGES.txt roundup/mailgw.py |
| diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Tue Jan 22 20:01:11 2002 +0000 +++ b/CHANGES.txt Tue Jan 22 22:27:43 2002 +0000 @@ -21,6 +21,7 @@ . fixed back_bsddb so it passed the journal tests . fixed status changes in mail gateway (eg. unread -> chatting) . we'll actually distribute the frontends directory now, as advertised... + . handle stripping of "AW:" from subject line 2002-01-16 - 0.4.0b2
--- a/roundup/mailgw.py Tue Jan 22 20:01:11 2002 +0000 +++ b/roundup/mailgw.py Tue Jan 22 22:27:43 2002 +0000 @@ -73,7 +73,7 @@ an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.56 2002-01-22 11:54:45 rochecompaan Exp $ +$Id: mailgw.py,v 1.57 2002-01-22 22:27:43 richard Exp $ ''' @@ -119,7 +119,7 @@ s.seek(0) return Message(s) -subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re)\s*\W?\s*)*' +subject_re = re.compile(r'(?P<refwd>\s*\W?\s*(fwd|re|aw)\s*\W?\s*)*' r'\s*(\[(?P<classname>[^\d\s]+)(?P<nodeid>\d+)?\])' r'\s*(?P<title>[^[]+)?(\[(?P<args>.+?)\])?', re.I) @@ -754,6 +754,9 @@ # # $Log: not supported by cvs2svn $ +# Revision 1.56 2002/01/22 11:54:45 rochecompaan +# Fixed status change in mail gateway. +# # Revision 1.55 2002/01/21 10:05:47 rochecompaan # Feature: # . the mail gateway now responds with an error message when invalid
