[pywin32-checkins] pywin32/com/win32com __init__.py,1.9,1.10
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <mha...@us...> - 2004-01-20 01:55:45
|
Update of /cvsroot/pywin32/pywin32/com/win32com In directory sc8-pr-cvs1:/tmp/cvs-serv810/com/win32com Modified Files: __init__.py Log Message: pythoncom dumbly defaults pythoncom.frozen to zero - we believe sys.frozen over it. Index: __init__.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/__init__.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** __init__.py 31 Oct 2003 03:05:07 -0000 1.9 --- __init__.py 20 Jan 2004 01:55:42 -0000 1.10 *************** *** 8,12 **** # flag if we are in a "frozen" build. _frozen = getattr(sys, "frozen", 1==0) ! if _frozen and not hasattr(pythoncom, "frozen"): pythoncom.frozen = sys.frozen --- 8,13 ---- # flag if we are in a "frozen" build. _frozen = getattr(sys, "frozen", 1==0) ! # pythoncom dumbly defaults this to zero - we believe sys.frozen over it. ! if _frozen and not getattr(pythoncom, "frozen", 0): pythoncom.frozen = sys.frozen |