diff options
Diffstat (limited to 'src/mailman/core/errors.py')
| -rw-r--r-- | src/mailman/core/errors.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/mailman/core/errors.py b/src/mailman/core/errors.py index ea1c78967..529ac86fe 100644 --- a/src/mailman/core/errors.py +++ b/src/mailman/core/errors.py @@ -110,17 +110,6 @@ class DiscardMessage(HandlerError): class RejectMessage(HandlerError): """The message will be bounced back to the sender""" - def __init__(self, notice=None): - super(RejectMessage, self).__init__() - if notice is None: - notice = _('Your message was rejected') - if notice.endswith('\n\n'): - pass - elif notice.endswith('\n'): - notice += '\n' - else: - notice += '\n\n' - self.notice = notice |
