From 58bd19095a47c162f8fb889f2369bfc8562b1992 Mon Sep 17 00:00:00 2001 From: "Kurt B. Kaiser" Date: Sun, 26 Jun 2005 18:27:36 +0000 Subject: [PATCH] SMTP.help() was returning a tuple instead of the promised text. --- Lib/smtplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 5b406af3887..57605a96dad 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."""