[pywin32-checkins] pywin32/Pythonwin/pywin/Demos objdoc.py, 1.1, 1.2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2008-10-01 14:45:10
|
Update of /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv21342/Pythonwin/pywin/Demos Modified Files: objdoc.py Log Message: Move to 'new style' exception raising. Index: objdoc.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/Pythonwin/pywin/Demos/objdoc.py,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** objdoc.py 1 Sep 1999 23:33:35 -0000 1.1 --- objdoc.py 1 Oct 2008 14:44:52 -0000 1.2 *************** *** 32,36 **** self.object = object def OnOpenDocument (self, name): ! raise error, "Should not be called if template strings set up correctly" return 0 --- 32,36 ---- self.object = object def OnOpenDocument (self, name): ! raise Runtime("Should not be called if template strings set up correctly") return 0 *************** *** 47,49 **** import demoutils if demoutils.NeedGoodGUI(): ! demo() \ No newline at end of file --- 47,49 ---- import demoutils if demoutils.NeedGoodGUI(): ! demo() |