diff options
Diffstat (limited to 'Mailman/Handlers/ToUsenet.py')
| -rw-r--r-- | Mailman/Handlers/ToUsenet.py | 10 |
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: |
