[Mailman-Developers] mailman-cvs broke config_list
Dan Mick
dmick@utopia.West.Sun.COM
Fri, 24 May 2002 12:54:08 -0700
Yeah, I sent this a couple of weeks ago, but Barry missed it I guess:
HEY BARRY!!!! :)
Subject:
Re: [Mailman-Developers] A couple of bugs ...
Date:
Mon, 13 May 2002 14:31:09 -0700 (PDT)
From:
Dan Mick <dmick@utopia.West.Sun.COM>
To:
mailman-developers@python.org, david@midrange.com
Category "contentfilter", variable "filter_mime_types", for
me, has a 'list' type (i.e. its value is '[]'), but
its type is advertised as mm_cfg.Text (4), which causes
that newline replacement algorithm to bite it.
I'm not sure if the assignment of type mm_cfg.Text is wrong,
or if config_list needs to handle arrays of Text more gracefully.
Barry?
Marc MERLIN wrote:
>
> I updated to CVS a few days ago and I'm now getting this:
>
> Traceback (most recent call last):
> File "/var/local/mailman/bin/config_list", line 270, in ?
> main()
> File "/var/local/mailman/bin/config_list", line 262, in main
> do_output(listname, outfile)
> File "/var/local/mailman/bin/config_list", line 114, in do_output
> do_list_categories(mlist, k, None, outfp)
> File "/var/local/mailman/bin/config_list", line 163, in do_list_categories
> lines = value.replace('\r', '').split('\n')
> AttributeError: replace
>
> --
> Microsoft is to operating systems & security ....
> .... what McDonalds is to gourmet cooking
>
> Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
>
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers@python.org
> http://mail.python.org/mailman-21/listinfo/mailman-developers