]> granicus.if.org Git - python/commitdiff
Fixed a bug in the test jig.
authorEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 07:40:17 +0000 (07:40 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Fri, 9 Feb 2001 07:40:17 +0000 (07:40 +0000)
Lib/smtplib.py

index 6f51cb0deff4f277e4ed06ca172be58f11de719c..b9c7f51ec63c9f9208cfd827c9c76dc5fe6db72e 100755 (executable)
@@ -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: