diff options
author | Mark Sapiro <mark@msapiro.net> | 2016-04-06 07:37:27 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2016-04-06 07:37:27 -0700 |
commit | 93f11f1a9b9e6f2f1251b1efb75131e0c9839029 (patch) | |
tree | a879db599815224b664a0dd6918fee1fdc953307 /Mailman/Queue | |
parent | 52c355755a5b33c975ec9b3a7535236685bf0c18 (diff) | |
download | mailman2-93f11f1a9b9e6f2f1251b1efb75131e0c9839029.tar.gz mailman2-93f11f1a9b9e6f2f1251b1efb75131e0c9839029.tar.xz mailman2-93f11f1a9b9e6f2f1251b1efb75131e0c9839029.zip |
Fixed a bug in ensuring gated news articles have a Subject:.
Diffstat (limited to 'Mailman/Queue')
-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 |