[Mailman-Developers] error with bad email with % in
brad at stop.mail-abuse.org
Tue Jan 11 23:16:10 CET 2005
At 9:39 AM +0100 2005-01-11, Brad Knowles wrote:
> There needs to be another way to solve this problem.
I got a private reply with an alternative solution to this
problem. With permission, I am including it here:
Subject: RE: [Mailman-Developers] error with bad email with % in
Date: Tue, 11 Jan 2005 10:10:07 -0500
From: "Mike Sandler" <msandler at HostMySite.com>
To: "Brad Knowles" <brad at stop.mail-abuse.org>
I believe that it is a probably a good idea to fix the htmlformat.py
addError to accept empty args. I have never programmed python before - I
hacked a solution.
I was the one that was afflicted with the problem. I "fixed" the
problem by changing htmlformat.py around line 340 to:
def addError(self, errmsg, tag=None, *args):
if tag is None:
tag = _('Error: ')
if args is not ():
Italic(errmsg % args ).Format()))
Brad Knowles, <brad at stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
SAGE member since 1995. See <http://www.sage.org/> for more info.
More information about the Mailman-Developers