Allow list templates for archives

Bug #558092 reported by nbarcet
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Undecided
Unassigned

Bug Description

The template mechanism currently does not work in
HyperArchiver :

It is not possible to modify specifically the template
for a given site in the archive template (placing a
list specific template in
/var/lib/Mailman/lists/<listname>/<lang>/ because of a
small bug in Mailman.Archiver.HyperHarch.

To fix it modify
/usr/lib/mailman/Mailman/Archiver/HyperArch.py, in
function quick_maketext, change line 175:

        template = Utils.maketext(templatefile,
lang=lang, raw=1)

into:

        template = Utils.maketext(templatefile,
lang=lang, raw=1, mlist=mlist)

And it works...
Nick

Revision history for this message
akuchling (akuchling) wrote :

Logged In: YES
user_id=11375
Originator: NO

The change seems to have been applied to Mailman at some point. Thanks for your contribution!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.