summaryrefslogtreecommitdiff
path: root/mailman/pipeline/cook_headers.py
diff options
context:
space:
mode:
authorBarry Warsaw2008-03-31 14:12:04 -0400
committerBarry Warsaw2008-03-31 14:12:04 -0400
commit99113155a828f14ae9df817e9c02855683dea02f (patch)
treeeffbc5a3786c7365140c70a6e00a9d8c55748b95 /mailman/pipeline/cook_headers.py
parent65ec767071f34a22ad6cb01d79a1dd6440e0411f (diff)
downloadmailman-99113155a828f14ae9df817e9c02855683dea02f.tar.gz
mailman-99113155a828f14ae9df817e9c02855683dea02f.tar.zst
mailman-99113155a828f14ae9df817e9c02855683dea02f.zip
Diffstat (limited to 'mailman/pipeline/cook_headers.py')
-rw-r--r--mailman/pipeline/cook_headers.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/mailman/pipeline/cook_headers.py b/mailman/pipeline/cook_headers.py
index 2cf156b2c..c237c171a 100644
--- a/mailman/pipeline/cook_headers.py
+++ b/mailman/pipeline/cook_headers.py
@@ -30,11 +30,11 @@ from email.Utils import parseaddr, formataddr, getaddresses
from zope.interface import implements
from mailman import Utils
-from mailman import Version
+from mailman.app.archiving import get_primary_archiver
from mailman.configuration import config
from mailman.i18n import _
from mailman.interfaces import IHandler, Personalization, ReplyToMunging
-from mailman.app.archiving import get_primary_archiver
+from mailman.version import VERSION
CONTINUATION = ',\n\t'
@@ -98,7 +98,7 @@ def process(mlist, msg, msgdata):
# using such an old version, they may be vulnerable. It's too easy to
# edit the code to add a configuration variable to handle this.
if 'x-mailman-version' not in msg:
- msg['X-Mailman-Version'] = Version.VERSION
+ msg['X-Mailman-Version'] = VERSION
# We set "Precedence: list" because this is the recommendation from the
# sendmail docs, the most authoritative source of this header's semantics.
if 'precedence' not in msg: