From 38151ed6b895f5a9a2234eb962bac16c417dd1f4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 07:40:17 +0000 Subject: [PATCH] Fixed a bug in the test jig. --- Lib/smtplib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/smtplib.py b/Lib/smtplib.py index 6f51cb0deff..b9c7f51ec63 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: