/[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.1 - (show annotations) (download)
Mon Apr 21 00:12:42 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: mailman-2_1_5_1-34_rhel4_6_el4_sme
Initial import of mailman-2.1.5.1-34.rhel4.6.el4.sme.src.rpm

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