------------------------------------------------------------ revno: 1136 committer: Barry Warsaw <[EMAIL PROTECTED]> branch nick: py26 timestamp: Sat 2008-11-22 18:24:58 -0500 message: String exceptions -> class exceptions. modified: Mailman/Errors.py
=== modified file 'Mailman/Errors.py' --- a/Mailman/Errors.py 2005-08-27 01:40:17 +0000 +++ b/Mailman/Errors.py 2008-11-22 23:24:58 +0000 @@ -49,14 +49,13 @@ 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" -- Stable, maintained release series https://code.launchpad.net/~mailman-coders/mailman/2.1 You are receiving this branch notification because you are subscribed to it. _______________________________________________ Mailman-checkins mailing list [email protected] Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org
