aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman
diff options
context:
space:
mode:
authorMark Sapiro <msapiro@value.net>2014-06-29 20:12:51 -0700
committerMark Sapiro <msapiro@value.net>2014-06-29 20:12:51 -0700
commit1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733 (patch)
treeff8d5dd36fd70594cec440720d6b9399321152df /Mailman
parentafd5ce9986f56b76a4904eff31aa2350d3075f52 (diff)
downloadmailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.tar.gz
mailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.tar.xz
mailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.zip
Minor cleanup. Removed unused imports.
Diffstat (limited to 'Mailman')
-rw-r--r--Mailman/Handlers/WrapMessage.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Mailman/Handlers/WrapMessage.py b/Mailman/Handlers/WrapMessage.py
index d6483e7f..4fd88ed9 100644
--- a/Mailman/Handlers/WrapMessage.py
+++ b/Mailman/Handlers/WrapMessage.py
@@ -24,9 +24,7 @@ original message.
import copy
-from Mailman import mm_cfg
-from Mailman.Utils import unique_message_id
-from Mailman.Message import Message
+from Mailman import Utils
# Headers from the original that we want to keep in the wrapper.
KEEPERS = ('to',
@@ -63,7 +61,7 @@ def process(mlist, msg, msgdata):
msg['MIME-Version'] = '1.0'
msg['Content-Type'] = 'message/rfc822'
msg['Content-Disposition'] = 'inline'
- msg['Message-ID'] = unique_message_id(mlist)
+ msg['Message-ID'] = Utils.unique_message_id(mlist)
# Add the headers from CookHeaders.
for k, v in msgdata['add_header'].items():
msg[k] = v