[Python-checkins] CVS: python/dist/src/Lib/test test_socket.py,1.17,1.18
Eric S. Raymond
esr@users.sourceforge.net
Fri, 09 Feb 2001 03:57:22 -0800
Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv19026
Modified Files:
test_socket.py
Log Message:
String method conversion.
Index: test_socket.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_socket.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** test_socket.py 2001/01/17 21:51:35 1.17
--- test_socket.py 2001/02/09 11:57:20 1.18
***************
*** 13,17 ****
import os
import time
- import string
def missing_ok(str):
--- 13,16 ----
***************
*** 80,84 ****
for name in all_host_names:
! if string.find(name, '.'):
break
else:
--- 79,83 ----
for name in all_host_names:
! if name.find('.'):
break
else: