Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools
In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21342/Pythonwin/pywin/tools
Modified Files:
browseProjects.py
Log Message:
Move to 'new style' exception raising.
Index: browseProjects.py
===================================================================
RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/tools/browseProjects.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** browseProjects.py 9 Aug 2008 16:47:08 -0000 1.3
--- browseProjects.py 1 Oct 2008 14:44:53 -0000 1.4
***************
*** 227,231 ****
root = HLIRoot()
if not root.IsExpandable():
! raise TypeError, "Browse() argument must have __dict__ attribute, or be a Browser supported type"
dlg = dynamic_browser (root)
--- 227,231 ----
root = HLIRoot()
if not root.IsExpandable():
! raise TypeError("Browse() argument must have __dict__ attribute, or be a Browser supported type")
dlg = dynamic_browser (root)
|