]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix errors in generating documentation by SPHINX
authoreap <eap@opencascade.com>
Tue, 15 Nov 2011 17:04:42 +0000 (17:04 +0000)
committereap <eap@opencascade.com>
Tue, 15 Nov 2011 17:04:42 +0000 (17:04 +0000)
-    except RuntimeError, e:
+    except Exception, e:

src/KERNEL_PY/kernel/services.py

index 032242bf6a4f4c8857201f38432571e97b6739f7..8ccc81335e6ea15eb0cefa065e43f410c69913fa 100644 (file)
@@ -36,7 +36,7 @@ import salome
 if salome.lcc is None:
     try:
         salome.salome_init()
-    except RuntimeError, e:
+    except Exception, e:
         print e
 
 # Note that the salome module provides you with standard SALOME