From: Andy T. <an...@us...> - 2005-09-18 03:59:39
|
Update of /cvsroot/pythoncard/PythonCard/samples/spirographInteractive In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9735/samples/spirographInteractive Modified Files: spirographInteractive.py Log Message: Making blanket except clauses more specific Index: spirographInteractive.py =================================================================== RCS file: /cvsroot/pythoncard/PythonCard/samples/spirographInteractive/spirographInteractive.py,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** spirographInteractive.py 12 Aug 2004 19:19:02 -0000 1.3 --- spirographInteractive.py 18 Sep 2005 03:59:22 -0000 1.4 *************** *** 157,161 **** bmp = graphic.Bitmap(self.filename) self.components.bufOff.drawBitmap(bmp, (0, 0)) ! except: pass --- 157,161 ---- bmp = graphic.Bitmap(self.filename) self.components.bufOff.drawBitmap(bmp, (0, 0)) ! except IOError, msg: pass *************** *** 190,194 **** bmp.SaveFile(path, fileType) return True ! except: return False else: --- 190,194 ---- bmp.SaveFile(path, fileType) return True ! except IOError, msg: return False else: |