[Mailman-Developers] Possible error in Mailman/Cgi/confirm.py

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Thu Feb 3 00:55:47 CET 2005


Thien Vu wrote:

> I think I found a bug in mailman. If you get an email confirmation for
> a pending request and you go to the web page. If you hit 'cancel' it
> will to to Mailman/Cgi/confirm.py will call subscription_cancel :
> 
> def subscription_cancel(mlist, doc, cookie):
>     # Discard this cookie
>     userdesc = mlist.pend_confirm(cookie)[1]
>     lang = userdesc.language
>     i18n.set_language(lang)
>     doc.set_language(lang) 
>     doc.AddItem(_('You have canceled your subscription request.'))

> There is an assert self.Locked() which will always fail because we've
> never locked the list. The question is what's the correct thing to do
> here? 

As a developer, the correct thing to do is to upgrade your mailman to 
the most recent 2.1.6b2. This bug is already corrected.
http://www.mail-archive.com/mailman-developers%40python.org/msg08456.html
http://mm.tkikuchi.net/mailman-2.1.6b2.tgz

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/



More information about the Mailman-Developers mailing list