I got it done by doing:
>>> pendings = getUtility(IPendings)
>>> for token, data in pendings.find(
pend_type='unsubscription'):
... pendings.confirm(token, expunge=True)
...
>>> commit()
_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at:
https://lists.mailman3.org/archives/list/[email protected]/message/ZCCPENYLKVFGKHAFHCMZJSZV5HNA27ZR/
This message sent to [email protected]