From 8df60d492444d8b408934429973da915b313e1ca Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 16 Aug 2006 10:23:59 +0000 Subject: [PATCH] PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- src/GEOMGUI/GeometryGUI_Swig.i | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/GEOMGUI/GeometryGUI_Swig.i b/src/GEOMGUI/GeometryGUI_Swig.i index 2001fed2e..35c450ff7 100644 --- a/src/GEOMGUI/GeometryGUI_Swig.i +++ b/src/GEOMGUI/GeometryGUI_Swig.i @@ -47,13 +47,7 @@ PyAllowThreadsGuard guard; - try { - $action - } - catch(...) { - PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught"); - return NULL; - } + $action } class GEOM_Swig -- 2.39.2