--- mailman-2.1.5.1/Mailman/Cgi/confirm.py.cancel 2007-05-21 14:54:34.000000000 +0200 +++ mailman-2.1.5.1/Mailman/Cgi/confirm.py 2007-05-21 14:56:52.000000000 +0200 @@ -308,8 +308,12 @@ def subscription_cancel(mlist, doc, cookie): - # Discard this cookie - userdesc = mlist.pend_confirm(cookie)[1] + mlist.Lock() + try: + # Discard this cookie + userdesc = mlist.pend_confirm(cookie)[1] + finally: + mlist.Unlock() lang = userdesc.language i18n.set_language(lang) doc.set_language(lang)