[Mailman-Developers] bug in mailman-2.1.7/Mailman/Cgi/listinfo.py and HTML generation

g dev+lists at humph.com
Thu Mar 2 17:05:25 CET 2006


     if not mlist.digestable or not mlist.nondigestable:
         replacements['<mm-digest-radio-button>'] = ""
         replacements['<mm-undigest-radio-button>'] = ""
         replacements['<mm-digest-question-start>'] = '<!-- '
         replacements['<mm-digest-question-end>'] = ' -->'
     else:
         replacements['<mm-digest-radio-button>'] =  
mlist.FormatDigestButton()
         replacements['<mm-undigest-radio-button>'] = \
                                                     
mlist.FormatUndigestButton()
         replacements['<mm-digest-question-start>'] = ''
         replacements['<mm-digest-question-end>'] = ''
     replacements['<mm-plain-digests-button>'] = \

apart that I do not know where the if ends (is it determined by the  
formatting?), there is, I think, a bug. Shouldn't it be:


     if not mlist.digestable or mlist.nondigestable:

and the parsing of the HTML template does not work anyway, as I have

digestable = 0

but the digest option still appears in my users option page.

Giuliano


More information about the Mailman-Developers mailing list