diff options
| author | Barry Warsaw | 2015-05-24 10:26:10 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-05-24 10:26:10 -0400 |
| commit | 4a7e3cf333359e022b6df1ecdee83141d9e54084 (patch) | |
| tree | 33cf143eab918b6b301b1197cad231807966517d /src/mailman/core/errors.py | |
| parent | 6ab624a03542e72672ce3de5375cb98cd9af9da4 (diff) | |
| download | mailman-4a7e3cf333359e022b6df1ecdee83141d9e54084.tar.gz mailman-4a7e3cf333359e022b6df1ecdee83141d9e54084.tar.zst mailman-4a7e3cf333359e022b6df1ecdee83141d9e54084.zip | |
Diffstat (limited to 'src/mailman/core/errors.py')
| -rw-r--r-- | src/mailman/core/errors.py | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/src/mailman/core/errors.py b/src/mailman/core/errors.py index 3ef18457f..c0c25754e 100644 --- a/src/mailman/core/errors.py +++ b/src/mailman/core/errors.py @@ -48,25 +48,7 @@ __all__ = [ -# Base class for all exceptions raised in Mailman. -class MailmanException(Exception): - pass - - - -# "New" style membership exceptions (new w/ MM2.1) -class MemberError(MailmanException): pass -class AlreadyReceivingDigests(MemberError): pass -class AlreadyReceivingRegularDeliveries(MemberError): pass -class CantDigestError(MemberError): pass -class MustDigestError(MemberError): pass - - - -# New style class based exceptions. All the above errors should eventually be -# converted. - -class MailmanError(MailmanException): +class MailmanError(Exception): """Base class for all Mailman errors.""" pass |
