Update of /cvsroot/pythoncard/PythonCard/samples/addressesZODB
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19204/addressesZODB
Modified Files:
addresses.py outlook.py
Log Message:
Removed all of the plain except: clauses I could
Index: outlook.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/addressesZODB/outlook.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** outlook.py 6 Jan 2003 21:13:41 -0000 1.3
--- outlook.py 13 Dec 2005 11:13:22 -0000 1.4
***************
*** 18,22 ****
WIN32_FOUND = 1
! except:
WIN32_FOUND = 0
--- 18,22 ----
WIN32_FOUND = 1
! except ImportError:
WIN32_FOUND = 0
Index: addresses.py
===================================================================
RCS file: /cvsroot/pythoncard/PythonCard/samples/addressesZODB/addresses.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** addresses.py 12 Aug 2004 19:18:48 -0000 1.32
--- addresses.py 13 Dec 2005 11:13:22 -0000 1.33
***************
*** 153,160 ****
def doExit(self):
! try:
! self.document.close()
! except:
! pass
def on_close(self, event):
--- 153,157 ----
def doExit(self):
! self.document.close()
def on_close(self, event):
***************
*** 272,276 ****
try:
widget.replace(ins, ins + 1, '')
! except:
pass
--- 269,273 ----
try:
widget.replace(ins, ins + 1, '')
! except ValueError:
pass
|