diff options
| author | Barry Warsaw | 2012-03-16 15:58:17 -0700 |
|---|---|---|
| committer | Barry Warsaw | 2012-03-16 15:58:17 -0700 |
| commit | 24991d17919f2715a7f2e875d2fb7fe72e53efcf (patch) | |
| tree | 80624655bf271f103f76377d9b09ce2ff0562dbb /src/mailman/core/errors.py | |
| parent | 44ec37f890c7d4d35504d8f2e56c01abe8c60940 (diff) | |
| download | mailman-24991d17919f2715a7f2e875d2fb7fe72e53efcf.tar.gz mailman-24991d17919f2715a7f2e875d2fb7fe72e53efcf.tar.zst mailman-24991d17919f2715a7f2e875d2fb7fe72e53efcf.zip | |
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 |
