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