diff roundup/mailgw.py @ 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 2998d683e2cf
children 16d13b9b8321
line wrap: on
line diff
--- 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

Roundup Issue Tracker: http://roundup-tracker.org/