From 20f94db70e6b1520010c787e5a0bc2e1affbeaa9 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 10 Nov 1999 20:07:16 +0000 Subject: Use convenience StringIO module --- scripts/post | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'scripts') diff --git a/scripts/post b/scripts/post index ac7c6a4f0..de919c52b 100755 --- a/scripts/post +++ b/scripts/post @@ -32,16 +32,12 @@ thus should not be re-posted to news if the list gates to a newsgroup. import sys import paths -try: - from cStringIO import StringIO -except ImportError: - from StringIO import StringIO - from Mailman import MailList from Mailman import Message from Mailman import Errors from Mailman import Utils from Mailman.Logging.Utils import LogStdErr +from Mailman.pythonlib.StringIO import StringIO LogStdErr("error", "post") -- cgit v1.3.1