diff options
Diffstat (limited to 'Mailman')
-rw-r--r-- | Mailman/Queue/NewsRunner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/Queue/NewsRunner.py b/Mailman/Queue/NewsRunner.py index d62cb8dd..fe693f28 100644 --- a/Mailman/Queue/NewsRunner.py +++ b/Mailman/Queue/NewsRunner.py @@ -112,7 +112,7 @@ def prepare_message(mlist, msg, msgdata): del msg['subject'] msg['Subject'] = stripped_subject # Make sure we have a non-blank subject. - if not msg.get('subject', '').strip(): + if not msg.get('subject', ''): del msg['subject'] msg['Subject'] = '(no subject)' # Add the appropriate Newsgroups: header |