[Mailman-Developers] A couple of bugs ...
Dan Mick
dmick@utopia.West.Sun.COM
Mon, 13 May 2002 14:31:09 -0700 (PDT)
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?
> Folks:
>
> I finally figured out what was causing my database error, a patch I had
> applied modified the version field in the database and was causing Mailman
> to not perform the necessary updates to the files.
>
> After I got past that, I started playing around with it in earnest... and
> noticed something...
>
> I ran the config_list command on a newly created list and got the following
> error ...
> [root@linux z]# ../bin/config_list -o testlist.txt testlist
> Traceback (most recent call last):
> File "../bin/config_list", line 268, in ?
> main()
> File "../bin/config_list", line 261, in main
> do_output(listname, outfile)
> File "../bin/config_list", line 113, in do_output
> do_list_categories(mlist, k, None, outfp)
> File "../bin/config_list", line 162, in do_list_categories
> lines = value.replace('\r', '').split('\n')
> AttributeError: replace
>
> Suggstions?
>
> david
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Mailman-Developers mailing list
> Mailman-Developers@python.org
> http://mail.python.org/mailman-21/listinfo/mailman-developers