Hi chris,

I couldn't find a way to do this, so I copied change_pw to change_mod_pw 
and changed the following line: 

            mlist.Bpassword = shapassword

to

            mlist.mod_password = shapassword

And that worked like a charm.

But seriously, this is what I ended up doing. I can only imagine that 
someone else is already adding this is change_pw, so I won't bother 
submitting a patch for this, but this worked well for those who have the 
same need I do.

 Chris

On Tue, 10 Feb 2004, Chris DiBona wrote:

> 
> Hello All,
> 
> I am "Using Mailman version: 2.1.1" and I have a need to programmatically
> add moderator passwords to mailing lists that we're importing. We've been
> very happy with the functionality presented by the config_list interface
> and used it to set up the 570 lists that we are maintaining. I have had no
> luck finding a way to change_pw for moderators in a similar fashion, is
> this supported through an undocumented function in change_pw? Will I have 
> to script against the web interface to do this for now?
> 
> Thanks.
> 
>  Chris DiBona
> 
> 

-- 
Chris DiBona, Vice President of Marketing        [EMAIL PROTECTED]
        I live in the future of Rekonstruction. It is 2403 in my world.
                            In '05, you can join me.
http://DamageStudios.com                              http://Rekonstruction.com


------------------------------------------------------
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to