From: jfa Date: Wed, 16 Aug 2006 10:25:54 +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=e79e927c765778facc29a463ca763a049e4aa397;p=modules%2Fvisu.git PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to not catch exceptions. --- 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{