summaryrefslogtreecommitdiffstats
path: root/Lib/smtplib.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 07:40:17 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 07:40:17 (GMT)
commit38151ed6b895f5a9a2234eb962bac16c417dd1f4 (patch)
tree45184995c2d193c913fd08287fb28e3533ace285 /Lib/smtplib.py
parent6b8c52835c7dae1d686fd46fda1614b199de3ece (diff)
downloadcpython-38151ed6b895f5a9a2234eb962bac16c417dd1f4.zip
cpython-38151ed6b895f5a9a2234eb962bac16c417dd1f4.tar.gz
cpython-38151ed6b895f5a9a2234eb962bac16c417dd1f4.tar.bz2
Fixed a bug in the test jig.
Diffstat (limited to 'Lib/smtplib.py')
-rwxr-xr-xLib/smtplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/smtplib.py b/Lib/smtplib.py
index 6f51cb0..b9c7f51 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: