[Mailman-Users] Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
I'm trying to run the nonmembers_modify-py script here https://www.msapiro.net/scripts/non_members but keep getting the error that the lists are non-existent. I’m trying to add a non-member accept to a bunch of our Class_of lists: [root@dhbmailman1 bin]# ./list_lists | grep Class

[Mailman-Users] Re: Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
Entering the list name in all lower case got it to work, which is odd since the script looks like it was supposed to do that. elif opt in ('-l', '--list'): arg = arg.lower() if not Utils.list_exists(arg): usage(1, _('Non-existent list: %(arg)s'))

[Mailman-Users] Re: Help with one of Mark's scripts

2021-06-28 Thread Mark Sapiro
On 6/28/21 2:56 PM, Bruce Johnson wrote: Entering the list name in all lower case got it to work, which is odd since the script looks like it was supposed to do that. elif opt in ('-l', '--list'): arg = arg.lower() if not Utils.list_exists(arg):

[Mailman-Users] Re: Help with one of Mark's scripts

2021-06-28 Thread Bruce Johnson
My copy of that script was downloaded today…it’s an old version of mailman, though 2.1.12. updating’s on my to-do list, but that is a long list :-( On Jun 28, 2021, at 3:21 PM, Mark Sapiro mailto:m...@msapiro.net>> wrote: On 6/28/21 2:56 PM, Bruce Johnson wrote: Entering the list name in all lo

[Mailman-Users] Re: Help with one of Mark's scripts

2021-06-28 Thread Mark Sapiro
On 6/28/21 4:36 PM, Bruce Johnson wrote: My copy of that script was downloaded today…it’s an old version of mailman, though 2.1.12. updating’s on my to-do list, but that is a long list :-( In that case, I can't explain why it didn't work with mixed case listnames but did with lower case. The