Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv23408/win32/Lib
Modified Files:
regcheck.py
Log Message:
remove use of string module
Index: regcheck.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/regcheck.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** regcheck.py 23 Oct 2008 07:39:12 -0000 1.8
--- regcheck.py 4 Dec 2008 03:38:20 -0000 1.9
***************
*** 21,26 ****
def CheckPathString(pathString):
! import string
! for path in string.split(pathString, ";"):
if not os.path.isdir(path):
return "'%s' is not a valid directory!" % path
--- 21,25 ----
def CheckPathString(pathString):
! for path in pathString.split(";"):
if not os.path.isdir(path):
return "'%s' is not a valid directory!" % path
|