diff options
| author | bwarsaw | 2000-03-23 06:48:52 +0000 |
|---|---|---|
| committer | bwarsaw | 2000-03-23 06:48:52 +0000 |
| commit | eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c (patch) | |
| tree | 53e5395fcfeb99b84b625eea80ce0ad93aac768e /Mailman/Handlers/ToUsenet.py | |
| parent | 73aea5a19277941e552790d4fa2729b697248b77 (diff) | |
| download | mailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.tar.gz mailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.tar.zst mailman-eed254a0ecf0cd7d24bf4d57f01723e46a9c3a9c.zip | |
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: |
