diff options
Diffstat (limited to '')
-rw-r--r-- | Mailman/Errors.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mailman/Errors.py b/Mailman/Errors.py index a2329729..366030d4 100644 --- a/Mailman/Errors.py +++ b/Mailman/Errors.py @@ -141,6 +141,12 @@ class RejectMessage(HandlerError): def __init__(self, notice=None): 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 def notice(self): |