Update of /cvsroot/pywin32/pywin32/com/win32com/client
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11336
Modified Files:
combrowse.py
Log Message:
reindent to 4 spaces due to inconsistent existing tabbed indentation
Index: combrowse.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/com/win32com/client/combrowse.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** combrowse.py 12 Jul 2007 07:53:04 -0000 1.7
--- combrowse.py 1 Jul 2008 01:04:40 -0000 1.8
***************
*** 15,19 ****
Details
! This module allows browsing of registered Type Libraries, COM categories,
and running COM objects. The display is similar to the Pythonwin object
browser, and displays the objects in a hierarchical window.
--- 15,19 ----
Details
! This module allows browsing of registered Type Libraries, COM categories,
and running COM objects. The display is similar to the Pythonwin object
[...1005 lines suppressed...]
! root = HLIRoot("COM Browser")
! if sys.modules.has_key("app"):
! # do it in a window
! browser.MakeTemplate()
! browser.template.OpenObject(root)
! else:
! # list=hierlist.HierListWithItems( root, win32ui.IDB_BROWSER_HIER )
! # dlg=hierlist.HierDialog("COM Browser",list)
! dlg = browser.dynamic_browser(root)
! dlg.DoModal()
if __name__=='__main__':
! main()
+ ni = pythoncom._GetInterfaceCount()
+ ng = pythoncom._GetGatewayCount()
+ if ni or ng:
+ print "Warning - exiting with %d/%d objects alive" % (ni,ng)
|