diff options
| author | bwarsaw | 2002-12-02 14:29:24 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-12-02 14:29:24 +0000 |
| commit | 528cc2f850f3c8c4340f5e22f78da45520e2f1c4 (patch) | |
| tree | 9f88bb283e7224fde46b2af9d90356f713084fe1 | |
| parent | a802b0bf4edf34f03050af804226037304043e69 (diff) | |
| download | mailman-528cc2f850f3c8c4340f5e22f78da45520e2f1c4.tar.gz mailman-528cc2f850f3c8c4340f5e22f78da45520e2f1c4.tar.zst mailman-528cc2f850f3c8c4340f5e22f78da45520e2f1c4.zip | |
subscription_confirm(), unsubscription_confirm(),
addrchange_confirm(), reenable_confirm(): MMNoSuchUserError ->
NotAMemberError
| -rw-r--r-- | Mailman/Cgi/confirm.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index 58e0642bb..b1583dc11 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -335,7 +335,7 @@ def subscription_confirm(mlist, doc, cookie, cgidata): the list moderator before you will be subscribed. Your request has been forwarded to the list moderator, and you will be notified of the moderator's decision.""")) - except Errors.MMNoSuchUserError: + except Errors.NotAMemberError: bad_confirmation(doc, _('''Invalid confirmation string. It is possible that you are attempting to confirm a request for an address that has already been unsubscribed.''')) @@ -390,7 +390,7 @@ def unsubscription_confirm(mlist, doc, cookie): i18n.set_language(lang) doc.set_language(lang) op, addr = mlist.ProcessConfirmation(cookie) - except Errors.MMNoSuchUserError: + except Errors.NotAMemberError: bad_confirmation(doc, _('''Invalid confirmation string. It is possible that you are attempting to confirm a request for an address that has already been unsubscribed.''')) @@ -478,7 +478,7 @@ def addrchange_confirm(mlist, doc, cookie): i18n.set_language(lang) doc.set_language(lang) op, oldaddr, newaddr = mlist.ProcessConfirmation(cookie) - except Errors.MMNoSuchUserError: + except Errors.NotAMemberError: bad_confirmation(doc, _('''Invalid confirmation string. It is possible that you are attempting to confirm a request for an address that has already been unsubscribed.''')) @@ -701,7 +701,7 @@ def reenable_confirm(mlist, doc, cookie): i18n.set_language(lang) doc.set_language(lang) op, addr = mlist.ProcessConfirmation(cookie) - except Errors.MMNoSuchUserError: + except Errors.NotAMemberError: bad_confirmation(doc, _('''Invalid confirmation string. It is possible that you are attempting to confirm a request for an address that has already been unsubscribed.''')) |
