Update of /cvsroot/mailman/mailman/Mailman
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31782/Mailman
Modified Files:
Tag: Release_2_1-maint
Defaults.py.in
Log Message:
strip_subject() in HyperArch.py
prefix_subject() in CookHeaders.py
When calling re.sub() to substitute the subject prefix, you have to escape
the pattern, otherwise prefixes like [C++] cause "multiple repeat"
exceptions in re.
Also, whitespace normalization and copyright years updates.
Index: Defaults.py.in
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Defaults.py.in,v
retrieving revision 2.112.2.29
retrieving revision 2.112.2.30
diff -u -d -r2.112.2.29 -r2.112.2.30
--- Defaults.py.in 2 May 2005 13:18:08 -0000 2.112.2.29
+++ Defaults.py.in 13 May 2005 02:34:39 -0000 2.112.2.30
@@ -829,12 +829,14 @@
"""
# Where to put subject prefix for 'Re:' messages:
+#
# old style: Re: [prefix] test
# new style: [prefix 123] Re: test ... (number is optional)
-# Old style is default for backward compatibility. New style is forced if
-# a list owner set %d (numbering) in prefix. If the site owner had applied
-# new style patch (from SF patch area) before, he/she may want to set this
-# No in mm_cfg.py.
+#
+# Old style is default for backward compatibility. New style is forced if a
+# list owner set %d (numbering) in prefix. If the site owner had applied new
+# style patch (from SF patch area) before, he/she may want to set this No in
+# mm_cfg.py.
OLD_STYLE_PREFIXING = Yes
# Scrub regular delivery
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org