diff options
author | Mark Sapiro <msapiro@value.net> | 2014-06-29 20:12:51 -0700 |
---|---|---|
committer | Mark Sapiro <msapiro@value.net> | 2014-06-29 20:12:51 -0700 |
commit | 1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733 (patch) | |
tree | ff8d5dd36fd70594cec440720d6b9399321152df /Mailman/Handlers | |
parent | afd5ce9986f56b76a4904eff31aa2350d3075f52 (diff) | |
download | mailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.tar.gz mailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.tar.xz mailman2-1d9d411e48c4c9d4dea886b44d5f3a7fc4da1733.zip |
Minor cleanup. Removed unused imports.
Diffstat (limited to 'Mailman/Handlers')
-rw-r--r-- | Mailman/Handlers/WrapMessage.py | 6 |
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 |