Update of /cvsroot/pywin32/pywin32/win32/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv28613/win32/Lib
Modified Files:
pywintypes.py
Log Message:
A directory name with '_d' in it would confuse things!
Index: pywintypes.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/win32/Lib/pywintypes.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pywintypes.py 18 Sep 2003 05:33:13 -0000 1.2
--- pywintypes.py 6 Oct 2003 13:05:10 -0000 1.3
***************
*** 4,8 ****
import win32api, imp, sys, os
suffix = ""
! if win32api.__file__.find("_d")>0:
suffix = "_d"
filename = "%s%d%d%s.dll" % (modname, sys.version_info[0], sys.version_info[1], suffix)
--- 4,8 ----
import win32api, imp, sys, os
suffix = ""
! if win32api.__file__.endswith("_d.pyd")>0:
suffix = "_d"
filename = "%s%d%d%s.dll" % (modname, sys.version_info[0], sys.version_info[1], suffix)
|