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

index 0ba7ee7e452a28c884f21df92b7489982d629e02..8172991a8ee96bccf6eebb985b5f7b37ecbed1b8 100644 (file)
 
   PyAllowThreadsGuard guard;
 
-  try {
-    $action
-  }
-  catch(...) {
-    PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught");
-    return NULL;
-  }
+  $action
 }
 
 %include "typemaps.i"