summaryrefslogtreecommitdiff
path: root/Lib/smtpd.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-18 00:51:22 +0000
committerGuido van Rossum <guido@python.org>2007-05-18 00:51:22 +0000
commit68937b4cbcc3e88d4207e6391a311f9b7d067b71 (patch)
treeb5fffb2ee6c7f523ced6f49f9ab35bc22413cbcf /Lib/smtpd.py
parent7ac9d4020100b99b17eeddf65bafa8e87f9f293a (diff)
downloadcpython-git-68937b4cbcc3e88d4207e6391a311f9b7d067b71.tar.gz
Change some uses of cStringIO.StringIO to io.StringIO.
This is undoubtedly insufficient and in some cases just as broken as before.
Diffstat (limited to 'Lib/smtpd.py')
-rwxr-xr-xLib/smtpd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtpd.py b/Lib/smtpd.py
index 73e7777fa0..2e09c5ad99 100755
--- a/Lib/smtpd.py
+++ b/Lib/smtpd.py
@@ -374,7 +374,7 @@ class PureProxy(SMTPServer):
class MailmanProxy(PureProxy):
def process_message(self, peer, mailfrom, rcpttos, data):
- from cStringIO import StringIO
+ from io import StringIO
from Mailman import Utils
from Mailman import Message
from Mailman import MailList