[pywin32-checkins] pywin32/com/win32com/client combrowse.py, 1.8, 1.9
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-27 09:42:48
|
Update of /cvsroot/pywin32/pywin32/com/win32com/client In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv18926/com/win32com/client Modified Files: combrowse.py Log Message: modernizations: replace most remaining has_key() calls with 'in' statements. Index: combrowse.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/combrowse.py,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** combrowse.py 1 Jul 2008 01:04:40 -0000 1.8 --- combrowse.py 27 Nov 2008 09:42:41 -0000 1.9 *************** *** 520,524 **** from pywin.tools import hierlist root = HLIRoot("COM Browser") ! if sys.modules.has_key("app"): # do it in a window browser.MakeTemplate() --- 520,524 ---- from pywin.tools import hierlist root = HLIRoot("COM Browser") ! if "app" in sys.modules: # do it in a window browser.MakeTemplate() |