diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2005-06-26 18:27:36 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2005-06-26 18:27:36 (GMT) |
commit | 58bd19095a47c162f8fb889f2369bfc8562b1992 (patch) | |
tree | 74d8649e8ae360db7e0398943e56bbc5529ef83d /Lib | |
parent | 40c7165e7d61e85e777e73981416d94c9c14d8c3 (diff) | |
download | cpython-58bd19095a47c162f8fb889f2369bfc8562b1992.zip cpython-58bd19095a47c162f8fb889f2369bfc8562b1992.tar.gz cpython-58bd19095a47c162f8fb889f2369bfc8562b1992.tar.bz2 |
SMTP.help() was returning a tuple instead of the promised text.
Diffstat (limited to 'Lib')
-rwxr-xr-x | Lib/smtplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 5b406af..57605a9 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.""" |