Update of /cvsroot/python/python/dist/src/Tools/webchecker
In directory usw-pr-cvs1:/tmp/cvs-serv23047
Modified Files:
wsgui.py
Log Message:
Only catch NameError and TypeError when attempting to subclass an
exception (for compatibility with old versions of Python).
Index: wsgui.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/webchecker/wsgui.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** wsgui.py 1999/11/17 15:13:21 1.4
--- wsgui.py 2001/05/11 19:40:10 1.5
***************
*** 23,27 ****
class Canceled(Exception):
"Exception used to cancel run()."
! except:
Canceled = __name__ + ".Canceled"
--- 23,27 ----
class Canceled(Exception):
"Exception used to cancel run()."
! except (NameError, TypeError):
Canceled = __name__ + ".Canceled"
In directory usw-pr-cvs1:/tmp/cvs-serv23047
Modified Files:
wsgui.py
Log Message:
Only catch NameError and TypeError when attempting to subclass an
exception (for compatibility with old versions of Python).
Index: wsgui.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/webchecker/wsgui.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** wsgui.py 1999/11/17 15:13:21 1.4
--- wsgui.py 2001/05/11 19:40:10 1.5
***************
*** 23,27 ****
class Canceled(Exception):
"Exception used to cancel run()."
! except:
Canceled = __name__ + ".Canceled"
--- 23,27 ----
class Canceled(Exception):
"Exception used to cancel run()."
! except (NameError, TypeError):
Canceled = __name__ + ".Canceled"