------------------------------------------------------------ revno: 1638 committer: Mark Sapiro <m...@msapiro.net> branch nick: 2.1 timestamp: Wed 2016-04-06 07:37:27 -0700 message: Fixed a bug in ensuring gated news articles have a Subject:. modified: Mailman/Queue/NewsRunner.py
-- lp:mailman/2.1 https://code.launchpad.net/~mailman-coders/mailman/2.1 Your team Mailman Checkins is subscribed to branch lp:mailman/2.1. To unsubscribe from this branch go to https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Queue/NewsRunner.py' --- Mailman/Queue/NewsRunner.py 2016-04-03 06:18:40 +0000 +++ Mailman/Queue/NewsRunner.py 2016-04-06 14:37:27 +0000 @@ -112,7 +112,7 @@ 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
_______________________________________________ Mailman-checkins mailing list Mailman-checkins@python.org Unsubscribe: https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org