From: Kurt B. Kaiser Date: Sun, 26 Jun 2005 18:27:36 +0000 (+0000) Subject: SMTP.help() was returning a tuple instead of the promised text. X-Git-Tag: v2.5a0~1652 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58bd19095a47c162f8fb889f2369bfc8562b1992;p=python SMTP.help() was returning a tuple instead of the promised text. --- diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 5b406af388..57605a96da 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -439,7 +439,7 @@ class SMTP: """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."""