From: jfa Date: Wed, 16 Aug 2006 10:25:26 +0000 (+0000) Subject: PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to... X-Git-Tag: For_OCT_611 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9ab6519addd0dab8afeb22a18afdb4583bfb7e02;p=modules%2Fsmesh.git PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- diff --git a/src/SMESHGUI/SMESHGUI_Swig.i b/src/SMESHGUI/SMESHGUI_Swig.i index 0ba7ee7e4..8172991a8 100644 --- a/src/SMESHGUI/SMESHGUI_Swig.i +++ b/src/SMESHGUI/SMESHGUI_Swig.i @@ -44,13 +44,7 @@ PyAllowThreadsGuard guard; - try { - $action - } - catch(...) { - PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught"); - return NULL; - } + $action } %include "typemaps.i"