[volunteers] State of the mailing lists, again

Rick Moen rick at linuxmafia.com
Fri Jul 8 00:20:14 PDT 2016


Quoting Sarah Newman (newmans at sonic.net):

> I think a possible workaround would be to change (in /var/local/mailman/Mailman/Handlers/Decorate.py)
> 
>             username = mlist.getMemberName(member)
>             if username:
>                 username = username.encode(Utils.GetCharSet(d['user_language']))
>             else:
>                 username = member
> 
> to
> 
>             username = mlist.getMemberName(member)
>             if username:
>                 try:
>                     username = username.encode(Utils.GetCharSet(d['user_language']))
>                 except UnicodeError:
>                     username = member
>             else:
>                 username = member
> 
> which I can try if there are no objections. Just editing the user name
> or unsubcribing them is kind of a meh solution since there is no
> guarantee it won't happen again.

I've now implemented this idea (after making a copy of Decorate.py as
Decorate.py.ORIG).




More information about the volunteers mailing list