diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-25 21:38:29 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2009-09-25 21:38:29 (GMT) |
commit | 6e52a5a8376579cc195ba411f2f3e556286fb0f2 (patch) | |
tree | 5a78cd049207dfe76916798dad3b83c78462fa78 /Lib/smtplib.py | |
parent | 0e33da095f39ad18791cb4457dca868a74d84e72 (diff) | |
download | cpython-6e52a5a8376579cc195ba411f2f3e556286fb0f2.zip cpython-6e52a5a8376579cc195ba411f2f3e556286fb0f2.tar.gz cpython-6e52a5a8376579cc195ba411f2f3e556286fb0f2.tar.bz2 |
Merged revisions 75064 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r75064 | ezio.melotti | 2009-09-26 00:35:24 +0300 (Sat, 26 Sep 2009) | 1 line
fix print statement
........
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-x | Lib/smtplib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index b88adfe..a01a184 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -800,13 +800,13 @@ class LMTP(SMTP): self.sock = socket.socket(socket.AF_UNIX, socket.SOCK_STREAM) self.sock.connect(host) except socket.error as msg: - if self.debuglevel > 0: print>>stderr, 'connect fail:', host + if self.debuglevel > 0: print('connect fail:', host, file=stderr) if self.sock: self.sock.close() self.sock = None raise socket.error(msg) (code, msg) = self.getreply() - if self.debuglevel > 0: print>>stderr, "connect:", msg + if self.debuglevel > 0: print('connect:', msg, file=stderr) return (code, msg) |