Update of /cvsroot/pywin32/pywin32
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18206
Modified Files:
pywin32_postinstall.py
Log Message:
Python 2.2 has no os.waitpid
Index: pywin32_postinstall.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/pywin32_postinstall.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** pywin32_postinstall.py 20 Jan 2004 23:09:17 -0000 1.7
--- pywin32_postinstall.py 1 Feb 2004 22:27:19 -0000 1.8
***************
*** 3,7 ****
# copies PyWinTypesxx.dll and PythonCOMxx.dll into the system directory,
# and creates a pth file
! import os, sys, glob, shutil
import _winreg
--- 3,7 ----
# copies PyWinTypesxx.dll and PythonCOMxx.dll into the system directory,
# and creates a pth file
! import os, sys, glob, shutil, time
import _winreg
***************
*** 230,233 ****
--- 230,236 ----
try:
os.waitpid(pid, 0)
+ except AttributeError:
+ # Python 2.2 - no waitpid - just sleep.
+ time.sleep(3)
except os.error:
# child already dead
|