[Mailman-Users] Problem with Underscores

Mark Sapiro mark at msapiro.net
Mon Jul 28 03:36:09 CEST 2008


Mark Sapiro wrote:

>Mark Sapiro wrote:
>
>> Thanks for the report. This bug still exists in 2.1.11. The following
>> patch is totally untested, but I think it will fix it for '_'. I'll
>> have to think about other non-alphanumeric characters. At least it
>> will point to the right place in the code.
>
>
>Here's a better patch. It has been lightly tested, and will work for any 
>non-alphanumeric characters.
>
>--- Mailman/Cgi/admin.py        2007-05-08 03:16:04 +0000
>+++ Mailman/Cgi/admin.py        2008-07-28 00:17:06 +0000
>@@ -1,4 +1,4 @@
>-# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
>+# Copyright (C) 1998-2008 by the Free Software Foundation, Inc.
>  #
>  # This program is free software; you can redistribute it and/or
>  # modify it under the terms of the GNU General Public License
<snip>

Somehow the indentation got garbled in the patch in the last post. The
lines without leading + or - are indented an extra space. This time I
have attached the patch as the file admin.patch.txt. The patch is the
same, but should be properly indented in the attachment.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: admin.patch.txt
URL: <http://mail.python.org/pipermail/mailman-users/attachments/20080727/b4285ab0/attachment.txt>


More information about the Mailman-Users mailing list