From e79e927c765778facc29a463ca763a049e4aa397 Mon Sep 17 00:00:00 2001 From: jfa Date: Wed, 16 Aug 2006 10:25:54 +0000 Subject: [PATCH] PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- src/VISU_SWIG/libVISU_Swig.i | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/VISU_SWIG/libVISU_Swig.i b/src/VISU_SWIG/libVISU_Swig.i index df984335..21bf5475 100644 --- a/src/VISU_SWIG/libVISU_Swig.i +++ b/src/VISU_SWIG/libVISU_Swig.i @@ -49,13 +49,7 @@ PyAllowThreadsGuard guard; - try { - $action - } - catch(...) { - PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught"); - return NULL; - } + $action } class Convertor{ -- 2.39.2