--On Wednesday, May 24, 2023 10:13 AM -0700 Mark Sapiro <mark@msapiro.net> wrote:
This was added in Postorius 1.3.0 which was released almost 4 years ago. If you can't upgrade, see https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/messa ge/6GKWYT3ZMXPHMGSXUW6OI6J2222AR7OV/ for a mailman shell script.
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'
--Quanah