[Mailman-Users] broadcast-type lists
Harold Paulson
haroldp at sierraweb.com
Wed Jul 26 20:29:51 CEST 2000
Dan,
After applying the per-list templates path (which is otherwise
great), I'm getting this traceback when creating a new list:
Traceback (innermost last):
File "./newlist", line 155, in ?
main(sys.argv)
File "./newlist", line 138, in main
{'listname' : listname,
TypeError: not enough arguments; expected 3, got 2
I get it just after it gives me the aliases block, though it does
seem to create the list ok. Any ideas?
- H
>> >The real answer is to allow private templates files per-list.
>> >Let me see what I can figure out.
>>
>> Yes that sounds perfect.
>
>Patch #100953 (on sourceforge) allows list-specific files; you
>put them in ~mailman/lists/<listname/ , and they're used in
>preference to the ones in ~mailman/templates for that list.
>
>It was a bit dodgy how I had to do it; the list object wasn't
>previously passed to Utils.maketext(), so I had to find all the
>callers of maketext and add the list object to the call params.
>Mostly, the change is in Utils.py, but there's a slight touch to
>a lot of other files.
>
>I'll submit this over on mailman-developers and see if anyone
>has any comments, but it seems to work. Of course it's only
>valid against the current CVS snapshot as of right now
>(Barry's been changing a lot tonight preparing for beta5).
>
>
>------------------------------------------------------
>Mailman-Users maillist - Mailman-Users at python.org
>http://www.python.org/mailman/listinfo/mailman-users
Harold Paulson Sierra Web Design
haroldp at sierraweb.com http://www.sierraweb.com
VOICE: 775.833.9500 FAX: 810.314.1517
More information about the Mailman-Users
mailing list