From bfcbfe2c69dbcb55aaae476fdf1a392c4253ab95 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 16 Aug 2006 10:23:08 +0000 Subject: [PATCH] PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- src/SALOME_SWIG/SALOMEGUI_Swig.i | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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 -- 2.39.2