]> SALOME platform Git repositories - tools/sat.git/blobdiff - AllTestLauncherSat.py
Salome HOME
replace all usage of bare except clause with except Exception clause
[tools/sat.git] / AllTestLauncherSat.py
index eaa1a967b5054a52b30297dfd3095c4ea38cc061..cf8319d96a0eebbc99c3801f22fe165dc404bf74 100755 (executable)
@@ -86,7 +86,7 @@ def errPrint(aStr):
 
 try:
   import unittestpy.HTMLTestRunner as HTST
-except:
+except Exception:
   HTST = None
   errPrint("""
 WARNING: no HTML output available.
@@ -96,7 +96,7 @@ WARNING: no HTML output available.
 
 try:
   import xmlrunner as XTST
-except:
+except Exception:
   XTST = None
   errPrint("""
 WARNING: no XML output available for unittest.