Salome HOME
feat(all): replace all usage of bare except clause with except Exception clause
[tools/sat.git] / src / compilation.py
index 751fe73b911891c94f4de45f3fa9d46768d169be..b8e84bdbbcf96e4fa94e2b2348f1e1cd5410b319 100644 (file)
@@ -440,7 +440,7 @@ CC=\\"hack_libtool\\"%g" libtool'''
             pymodule = imp.load_source(product + "_compile_script", script)
             self.nb_proc = nb_proc
             retcode = pymodule.compil(self.config, self, self.logger)
-        except:
+        except Exception:
             __, exceptionValue, exceptionTraceback = sys.exc_info()
             self.logger.write(str(exceptionValue), 1)
             import traceback