From 9dd0d69317e7144abbc410078a4d67b5701cef43 Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Fri, 13 May 2005 02:34:39 +0000 Subject: 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. --- Mailman/Defaults.py.in | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Mailman/Defaults.py.in') diff --git a/Mailman/Defaults.py.in b/Mailman/Defaults.py.in index 5ed516f8..dd73fc4e 100644 --- a/Mailman/Defaults.py.in +++ b/Mailman/Defaults.py.in @@ -829,12 +829,14 @@ DEFAULT_MSG_FOOTER = """_______________________________________________ """ # 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 -- cgit v1.2.3