summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xTools/webchecker/wsgui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/webchecker/wsgui.py b/Tools/webchecker/wsgui.py
index 1bf5f73..c301c6f 100755
--- a/Tools/webchecker/wsgui.py
+++ b/Tools/webchecker/wsgui.py
@@ -22,7 +22,7 @@ VERBOSE = 2
try:
class Canceled(Exception):
"Exception used to cancel run()."
-except:
+except (NameError, TypeError):
Canceled = __name__ + ".Canceled"