1 Jun
2022
1 Jun
'22
7:45 a.m.
I'm on postorius 1.3.4 so I tried to do via shell but after logging it shows a syntax error.
mailman shell -l mylist@mydomain(dot)com pendingsdb = getUtility(IPendings)
for token, data in pendingsdb.find(m, pend_type='unsubscription'): ... ... if data['token_owner'] == 'moderator': File "<console>", line 2 ... if data['token_owner'] == 'moderator': ^ IndentationError: expected an indented block ... pendingsdb.confirm(token) File "<console>", line 1 ... pendingsdb.confirm(token) ^ SyntaxError: invalid syntax
Is the fisrt time I use mailman shell. Any tips? Cheers,
David