diff options
author | Mark Sapiro <mark@msapiro.net> | 2014-11-07 17:19:05 -0800 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2014-11-07 17:19:05 -0800 |
commit | 17d553ac0aab617f1d3ec91ec197a9233974f5ea (patch) | |
tree | 95af998f3ad9e6b5f1035a4fbccc5859c3028ce1 | |
parent | 4a71216dc2469b9d5586ef63a5ba9ff5e3c444a9 (diff) | |
download | mailman2-17d553ac0aab617f1d3ec91ec197a9233974f5ea.tar.gz mailman2-17d553ac0aab617f1d3ec91ec197a9233974f5ea.tar.xz mailman2-17d553ac0aab617f1d3ec91ec197a9233974f5ea.zip |
Catch the NotAMemberError exception thrown if an authenticated
unsubscribe is submitted from the user options page for a nonmember.
Diffstat (limited to '')
-rw-r--r-- | Mailman/Cgi/options.py | 7 | ||||
-rwxr-xr-x | NEWS | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/Mailman/Cgi/options.py b/Mailman/Cgi/options.py index c1c08659..69ac52a9 100644 --- a/Mailman/Cgi/options.py +++ b/Mailman/Cgi/options.py @@ -518,6 +518,13 @@ address. Upon confirmation, any other mailing list containing the address user, 'via the member options page', userack=1) except Errors.MMNeedApproval: needapproval = True + except Errors.NotAMemberError: + # MAS This except should really be in the outer try so we + # don't save the list redundantly, but except and finally in + # the same try requires Python >= 2.5. + # Setting a switch and making the Save() conditional doesn't + # seem worth it as the Save() won't change anything. + pass mlist.Save() finally: mlist.Unlock() @@ -33,6 +33,10 @@ Here is a history of user visible changes to Mailman. Bug fixes and other patches + - We now catch the NotAMemberError exception thrown if an authenticated + unsubscribe is submitted from the user options page for a nonmember. + (LP: #1390653) + - Fixed an archiving bug that would cause messages with 'Subject: Re:' only to be indexed in the archives without a link to the message. (LP: #1388614) |