Salome HOME
feat(all): replace all usage of bare except clause with except Exception clause
[tools/sat.git] / src / returnCode.py
index 1af9116677d72a9969a3b197376751e66d925140..240eb6332ce797a73404b5dfa011da95225723d5 100644 (file)
@@ -148,7 +148,7 @@ class ReturnCode(object):
     """return system return code as bash or bat"""
     try:
       return self._TOSYS[self._status]
-    except:
+    except Exception:
       return self._TOSYS[self.NA_STATUS]
 
   def toXmlPassed(self):