[ mailman-Patches-834357 ] Allow list templates for archives

SourceForge.net noreply at sourceforge.net
Sat Jun 7 15:07:42 CEST 2008


Patches item #834357, was opened at 2003-11-01 19:45
Message generated for change (Settings changed) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=834357&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Pipermail
Group: Mailman 2.1
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Nick Barcet (nbarcet)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow list templates for archives

Initial Comment:
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

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

>Comment By: A.M. Kuchling (akuchling)
Date: 2008-06-07 09:07

Message:
Logged In: YES 
user_id=11375
Originator: NO

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


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=834357&group_id=103


More information about the Mailman-coders mailing list