summaryrefslogtreecommitdiff
path: root/src/mailman/handlers/cook_headers.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-04-01 17:17:00 -0400
committerBarry Warsaw2016-04-01 17:17:00 -0400
commit41ca73754450ad0a55e9ca6a009c64b8d78f5b8b (patch)
treeb3a21e7c89bbf4ea54b15b599a3148935a1c43ab /src/mailman/handlers/cook_headers.py
parentb87447ffe4a20793e22884a99a7f9afe3a803004 (diff)
downloadmailman-41ca73754450ad0a55e9ca6a009c64b8d78f5b8b.tar.gz
mailman-41ca73754450ad0a55e9ca6a009c64b8d78f5b8b.tar.zst
mailman-41ca73754450ad0a55e9ca6a009c64b8d78f5b8b.zip
Diffstat (limited to 'src/mailman/handlers/cook_headers.py')
-rw-r--r--src/mailman/handlers/cook_headers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mailman/handlers/cook_headers.py b/src/mailman/handlers/cook_headers.py
index 5b015b51c..23a65cdcd 100644
--- a/src/mailman/handlers/cook_headers.py
+++ b/src/mailman/handlers/cook_headers.py
@@ -20,7 +20,7 @@
import re
from email.header import Header
-from email.utils import parseaddr, formataddr, getaddresses
+from email.utils import formataddr, getaddresses, parseaddr
from mailman import public
from mailman.core.i18n import _
from mailman.interfaces.handler import IHandler
@@ -139,7 +139,7 @@ def process(mlist, msg, msgdata):
# is already in From and Reply-To in this case.
if (mlist.personalize is Personalization.full and
mlist.reply_goes_to_list is not
- ReplyToMunging.point_to_list and
+ ReplyToMunging.point_to_list and # noqa
not mlist.anonymous_list):
# Watch out for existing Cc headers, merge, and remove dups. Note
# that RFC 2822 says only zero or one Cc header is allowed.