]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
PAL12755: EDF: SALOME frozen with Load Script and a Python Module. Improve fix to...
authorjfa <jfa@opencascade.com>
Wed, 16 Aug 2006 10:25:54 +0000 (10:25 +0000)
committerjfa <jfa@opencascade.com>
Wed, 16 Aug 2006 10:25:54 +0000 (10:25 +0000)
src/VISU_SWIG/libVISU_Swig.i

index df984335845ebb6166cd2d5e26007d5f6e384426..21bf54759d5b669c368b650b38903d2d81961475 100644 (file)
 
   PyAllowThreadsGuard guard;
 
-  try {
-    $action
-  }
-  catch(...) {
-    PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught");
-    return NULL;
-  }
+  $action
 }
 
 class Convertor{