commit | 910ab50091f650481d1875c9c4c5cf91087856f2 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Oct 23 19:25:41 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Oct 23 19:25:41 2007 +0000 |
tree | 49933c57a4ecd7d26a1c5748310bbccd8cfedeb7 | |
parent | fef8be66e35df7ca1db1c377a760b551086e64bf [diff] |
Issue 1307 by Derek Shockey, fox the same bug for RCPT. Neal: please backport!
diff --git a/Lib/smtpd.py b/Lib/smtpd.py index 4aa3476..e09774f 100755 --- a/Lib/smtpd.py +++ b/Lib/smtpd.py
@@ -237,7 +237,7 @@ if not self.__mailfrom: self.push('503 Error: need MAIL command') return - address = self.__getaddr('TO:', arg) + address = self.__getaddr('TO:', arg) if arg else None if not address: self.push('501 Syntax: RCPT TO: <address>') return