[Python-checkins] python/dist/src/Lib smtplib.py,1.69,1.70
kbk@users.sourceforge.net
kbk at users.sourceforge.net
Sun Jun 26 20:27:39 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18713
Modified Files:
smtplib.py
Log Message:
SMTP.help() was returning a tuple instead of the promised text.
Index: smtplib.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/smtplib.py,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- smtplib.py 6 Feb 2005 06:57:08 -0000 1.69
+++ smtplib.py 26 Jun 2005 18:27:36 -0000 1.70
@@ -439,7 +439,7 @@
"""SMTP 'help' command.
Returns help text from server."""
self.putcmd("help", args)
- return self.getreply()
+ return self.getreply()[1]
def rset(self):
"""SMTP 'rset' command -- resets session."""
More information about the Python-checkins
mailing list