[Python-checkins] CVS: python/dist/src/Tools/idle WindowList.py,1.6,1.7
Guido van Rossum
guido@cnri.reston.va.us
Tue, 15 Feb 2000 13:03:04 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Tools/idle
In directory eric:/projects/python/develop/guido/src/Tools/idle
Modified Files:
WindowList.py
Log Message:
Correct a typo and remove an unqualified except that was hiding the error.
Index: WindowList.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Tools/idle/WindowList.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -r1.6 -r1.7
*** WindowList.py 1999/02/17 17:34:25 1.6
--- WindowList.py 2000/02/15 18:03:01 1.7
***************
*** 40,45 ****
def unregister_callback(self, callback):
try:
! self.callback.remove(callback)
! except:
pass
--- 40,45 ----
def unregister_callback(self, callback):
try:
! self.callbacks.remove(callback)
! except ValueError:
pass