From: Eric S. Raymond Date: Fri, 9 Feb 2001 07:40:17 +0000 (+0000) Subject: Fixed a bug in the test jig. X-Git-Tag: v2.1b1~478 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=38151ed6b895f5a9a2234eb962bac16c417dd1f4;p=python Fixed a bug in the test jig. --- diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 6f51cb0def..b9c7f51ec6 100755 --- a/Lib/smtplib.py +++ b/Lib/smtplib.py @@ -523,7 +523,7 @@ if __name__ == '__main__': return sys.stdin.readline().strip() fromaddr = prompt("From") - toaddrs = ','.split(prompt("To")) + toaddrs = prompt("To").split(',') print "Enter message, end with ^D:" msg = '' while 1: