Nov. 25, 2026
5 p.m.
On 11/25/26 08:20, Juergen Dollinger wrote:
Mark Sapiro wrote:
Because that's not the correct token. In
mailman shellyou can do>>> pendings = getUtility(IPendings) >>> for token, data in pendings.find(): ... if (data['type'] == 'held message' and ... data['list_id'] == 'list.example.com':It took me a while to find the closing bracket and the right indentation (my python knowledge is debugging one script years ago) but then I could print the token and remove the pending request.
Sorry about that. You are correct. There was a missing ')'. It should have been
>>> pendings = getUtility(IPendings)
>>> for token, data in pendings.find():
... if (data['type'] == 'held message' and
... data['list_id'] == 'list.example.com'):
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan