aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Errors.py')
-rw-r--r--Mailman/Errors.py15
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"