[pywin32-checkins] pywin32/com/win32comext/shell/demos/servers shell_view.py, 1.12, 1.13
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-11-26 08:52:37
|
Update of /cvsroot/pywin32/pywin32/com/win32comext/shell/demos/servers In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv19471/win32comext/shell/demos/servers Modified Files: shell_view.py Log Message: modernize syntax: all remaining raise statements in com/* upgraded Index: shell_view.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/com/win32comext/shell/demos/servers/shell_view.py,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** shell_view.py 20 Jul 2008 03:16:25 -0000 1.12 --- shell_view.py 26 Nov 2008 08:52:33 -0000 1.13 *************** *** 134,138 **** klass = ShellFolderObject else: ! raise RuntimeError, "What is " + repr(typ) ret = wrap(klass(extra), iid, useDispatcher = (debug>0)) return ret --- 134,138 ---- klass = ShellFolderObject else: ! raise RuntimeError("What is " + repr(typ)) ret = wrap(klass(extra), iid, useDispatcher = (debug>0)) return ret *************** *** 735,739 **** break else: ! raise RuntimeError, "Can't find scintilla!" style = win32con.WS_CHILD | win32con.WS_VSCROLL | \ --- 735,739 ---- break else: ! raise RuntimeError("Can't find scintilla!") style = win32con.WS_CHILD | win32con.WS_VSCROLL | \ |