commit | 83ff7498272c5f3acbda9b3cad0e2044ab7547c2 | [log] [tgz] |
---|---|---|
author | Eric S. Raymond <esr@thyrsus.com> | Fri Feb 09 12:03:45 2001 +0000 |
committer | Eric S. Raymond <esr@thyrsus.com> | Fri Feb 09 12:03:45 2001 +0000 |
tree | abf864e31d01e45936b80e72d273d5abc7393eb2 | |
parent | 2846b0ab417dbfc76d2f9b52b5613ad4fe8feb63 [diff] [blame] |
String method conversion.
diff --git a/Lib/test/test_socket.py b/Lib/test/test_socket.py index fe37936..00a4a91 100644 --- a/Lib/test/test_socket.py +++ b/Lib/test/test_socket.py
@@ -12,7 +12,6 @@ import socket import os import time -import string def missing_ok(str): try: @@ -79,7 +78,7 @@ print all_host_names for name in all_host_names: - if string.find(name, '.'): + if name.find('.'): break else: print 'FQDN not found'