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 0ba7ee7..8172991 100644 (file)
 
   PyAllowThreadsGuard guard;
 
-  try {
-    $action
-  }
-  catch(...) {
-    PyErr_SetString(PyExc_RuntimeError,"Unknown exception caught");
-    return NULL;
-  }
+  $action
 }
 
 %include "typemaps.i"