PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions.

This commit is contained in:
jfa 2006-08-16 10:25:26 +00:00
parent 1cfad77716
commit 9ab6519add

View File

@ -44,13 +44,7 @@
PyAllowThreadsGuard guard;
try {
$action
}
catch(...) {
PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught");
return NULL;
}
$action
}
%include "typemaps.i"