/[smecontribs]/rpms/mailman/contribs7/mailman-2.1.5.1-cancel.patch
ViewVC logotype

Contents of /rpms/mailman/contribs7/mailman-2.1.5.1-cancel.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (show annotations) (download)
Tue Nov 25 16:20:13 2008 UTC (15 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
Restore

1 --- mailman-2.1.5.1/Mailman/Cgi/confirm.py.cancel 2007-05-21 14:54:34.000000000 +0200
2 +++ mailman-2.1.5.1/Mailman/Cgi/confirm.py 2007-05-21 14:56:52.000000000 +0200
3 @@ -308,8 +308,12 @@
4
5
6 def subscription_cancel(mlist, doc, cookie):
7 - # Discard this cookie
8 - userdesc = mlist.pend_confirm(cookie)[1]
9 + mlist.Lock()
10 + try:
11 + # Discard this cookie
12 + userdesc = mlist.pend_confirm(cookie)[1]
13 + finally:
14 + mlist.Unlock()
15 lang = userdesc.language
16 i18n.set_language(lang)
17 doc.set_language(lang)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed