On May 24, 2023 9:45:45 AM PDT, Quanah Gibson-Mount <quanah@fast-mail.org> wrote:
That shell script seems to have errors:
pendings = getUtility(IPendings) for token, data in pendings.find( ... token_owner=TokenOwner.subscriber, ... pend_type='subscription'): ... print("hello") ... Traceback (most recent call last): File "<console>", line 3, in <module> File "/usr/lib/python3/dist-packages/mailman/database/transaction.py", line 85, in wrapper return function(args[0], config.db.store, *args[1:], **kws) TypeError: find() got an unexpected keyword argument 'token_owner'
Your Mailman core is too old for that script. Tell me your core version and I will try to make one that works for you.
-- Mark Sapiro <mark@msapiro.net> Sent from my Not_an_iThing with standards compliant, open source software.