Salome HOME
replace all usage of bare except clause with except Exception clause
[tools/sat.git] / test / test_501_paramiko.py
index ab5f92ba9d935662f267541714102715ecfbca48..3b0c7fb0d4639ddd3e9f07fe5751a50529b7c73e 100755 (executable)
@@ -161,7 +161,7 @@ class TestCase(unittest.TestCase):
 
     try:
       import paramiko as PK
-    except:
+    except Exception:
       print("\nproblem 'import paramiko', no tests")
       return