From: jfa Date: Wed, 16 Aug 2006 10:23:08 +0000 (+0000) Subject: PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to... X-Git-Tag: For_OCT_611~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bfcbfe2c69dbcb55aaae476fdf1a392c4253ab95;p=modules%2Fgui.git PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- diff --git a/src/SALOME_SWIG/SALOMEGUI_Swig.i b/src/SALOME_SWIG/SALOMEGUI_Swig.i index 01eda8ec4..7820811c9 100644 --- a/src/SALOME_SWIG/SALOMEGUI_Swig.i +++ b/src/SALOME_SWIG/SALOMEGUI_Swig.i @@ -46,13 +46,7 @@ PyAllowThreadsGuard guard; - try { - $action - } - catch(...) { - PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught"); - return NULL; - } + $action } class SALOMEGUI_Swig