[Mailman-Developers] [Fwd: Bug in Bounce.py]
Dan Mick
dmick@utopia.West.Sun.COM
Mon, 31 Dec 2001 05:08:34 -0800
This is a multi-part message in MIME format.
--------------40A491BE61F1F834BFBF76C3
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sent this to Barry late last night, but haven't seen a fix or a note here, so:
in case anyone else is having the same problem:
--------------40A491BE61F1F834BFBF76C3
Content-Type: message/rfc822
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-ID: <3C2EFA28.BBB78AE2@utopia.west.sun.com>
Date: Sun, 30 Dec 2001 03:27:36 -0800
From: Dan Mick <dmick@utopia.west.sun.com>
X-Mailer: Mozilla 4.78 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: bwarsaw@zope.com
Subject: Bug in Bounce.py
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
I don't know if this is the correct fix, but using the GUI to
change bounce parameters has a problem without it:
Index: Bounce.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Gui/Bounce.py,v
retrieving revision 2.2
diff -r2.2 Bounce.py
119c119
< def convert(varname, func, mlist=mlist, cgidata=cgidata, doc=doc):
---
> def convert(self, varname, func, mlist=mlist, cgidata=cgidata, doc=doc
):
126,130c126,130
< convert('bounce_processing', int)
< convert('bounce_score_threshold', float)
< convert('bounce_info_stale_after', to_days)
< convert('bounce_you_are_disabled_warnings', int)
< convert('bounce_you_are_disabled_warnings_interval', to_days)
---
> convert(self, 'bounce_processing', int)
> convert(self, 'bounce_score_threshold', float)
> convert(self, 'bounce_info_stale_after', to_days)
> convert(self, 'bounce_you_are_disabled_warnings', int)
> convert(self, 'bounce_you_are_disabled_warnings_interval', to_days)
--------------40A491BE61F1F834BFBF76C3--