summaryrefslogtreecommitdiff
path: root/Mailman/Handlers/ToUsenet.py
diff options
context:
space:
mode:
authorbwarsaw2000-03-23 06:48:52 +0000
committerbwarsaw2000-03-23 06:48:52 +0000
commiteed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c (patch)
tree53e5395fcfeb99b84b625eea80ce0ad93aac768e /Mailman/Handlers/ToUsenet.py
parent73aea5a19277941e552790d4fa2729b697248b77 (diff)
downloadmailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.tar.gz
mailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.tar.zst
mailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.zip
Diffstat (limited to 'Mailman/Handlers/ToUsenet.py')
-rw-r--r--Mailman/Handlers/ToUsenet.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/Mailman/Handlers/ToUsenet.py b/Mailman/Handlers/ToUsenet.py
index 58dd31460..b9768a69e 100644
--- a/Mailman/Handlers/ToUsenet.py
+++ b/Mailman/Handlers/ToUsenet.py
@@ -23,11 +23,6 @@ import re
from Mailman.pythonlib.StringIO import StringIO
-# The version we have is from Python 1.5.2+ and fixes the "mode reader"
-# problem.
-from Mailman.pythonlib import nntplib
-
-
def process(mlist, msg):
# short circuits
@@ -58,8 +53,9 @@ def process(mlist, msg):
def do_child(mlist, msg):
- # child
- import nntplib
+ # The version we have is from Python 1.5.2+ and fixes the "mode reader"
+ # problem.
+ from Mailman.pythonlib import nntplib
# Ok, munge headers, etc.
subj = msg.getheader('subject')
if subj: