diff options
author | Barry Warsaw <barry@list.org> | 2008-11-22 18:24:58 -0500 |
---|---|---|
committer | Barry Warsaw <barry@list.org> | 2008-11-22 18:24:58 -0500 |
commit | 5c21f02b0d2f4de7cf99b4b0bd8b522853156eac (patch) | |
tree | 8f3b8494d847fc6672e3594a2feb4393f0781cf2 /Mailman/Errors.py | |
parent | a86be44b08fe0935fe77d90948b9baad85af3624 (diff) | |
download | mailman2-5c21f02b0d2f4de7cf99b4b0bd8b522853156eac.tar.gz mailman2-5c21f02b0d2f4de7cf99b4b0bd8b522853156eac.tar.xz mailman2-5c21f02b0d2f4de7cf99b4b0bd8b522853156eac.zip |
String exceptions -> class exceptions.
Diffstat (limited to 'Mailman/Errors.py')
-rw-r--r-- | Mailman/Errors.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/Mailman/Errors.py b/Mailman/Errors.py index 2e80f21a..5b377846 100644 --- a/Mailman/Errors.py +++ b/Mailman/Errors.py @@ -49,14 +49,13 @@ class MMCookieError(MMAuthenticationError): pass class MMExpiredCookieError(MMCookieError): pass class MMInvalidCookieError(MMCookieError): pass -# BAW: these still need to be converted to classes. -MMMustDigestError = "MMMustDigestError" -MMCantDigestError = "MMCantDigestError" -MMNeedApproval = "MMNeedApproval" -MMSubscribeNeedsConfirmation = "MMSubscribeNeedsConfirmation" -MMBadConfirmation = "MMBadConfirmation" -MMAlreadyDigested = "MMAlreadyDigested" -MMAlreadyUndigested = "MMAlreadyUndigested" +class MMMustDigestError: pass +class MMCantDigestError: pass +class MMNeedApproval: pass +class MMSubscribeNeedsConfirmation: pass +class MMBadConfirmation: pass +class MMAlreadyDigested: pass +class MMAlreadyUndigested: pass MODERATED_LIST_MSG = "Moderated list" IMPLICIT_DEST_MSG = "Implicit destination" |