[Mailman-Developers] [ mailman-Bugs-564587 ] config_list breaks at filter_mime_types

noreply@sourceforge.net noreply@sourceforge.net
Tue, 04 Jun 2002 14:06:03 -0700


Bugs item #564587, was opened at 2002-06-04 14:06
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=100103&aid=564587&group_id=103

Category: command line scripts
Group: 2.1 beta
Status: Open
Resolution: None
Priority: 5
Submitted By: Devin L. Ganger (dlganger)
Assigned to: Nobody/Anonymous (nobody)
Summary: config_list breaks at filter_mime_types

Initial Comment:
When running:

  config_list -o cpunk.conf cpunk-secpro

on my list cpunk-secpro@lists.thecabal.org, I get the 
following error:

(bofh:mailman) /home/mailman $ config_list -o 
cpunk.conf cpunk-secpro
Traceback (most recent call last):
  File "/home/mailman/bin/config_list", line 268, in ?
    main()
  File "/home/mailman/bin/config_list", line 261, in main
    do_output(listname, outfile)
  File "/home/mailman/bin/config_list", line 113, in 
do_output
    do_list_categories(mlist, k, None, outfp)
  File "/home/mailman/bin/config_list", line 162, in 
do_list_categories
    lines = value.replace('\r', '').split('\n')
AttributeError: 'list' object has no attribute 'replace'

Doing a tail of the cpunk.conf file show the following:

(bofh:mailman) /home/mailman $ tail 
cpunk.conf                       
# matching MIME major type, e.g. image.  Blank lines 
are ignored.
# 
# After stripping message parts, any multipart 
attachment that is empty
# as a result is removed all together.  If the outer part's 
MIME type
# matches one of the strip types, or if all of the outer 
part's subparts
# are stripped, then the whole message is discarded.  
Finally, each
# multipart/alternative section will be replaced by just 
the first
# alternative that is non-empty after the specified types 
have been
# removed.
filter_mime_types =


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=100103&aid=564587&group_id=103