Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28bb38b
)
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH...
author
eap
<eap@opencascade.com>
Sun, 11 Mar 2012 10:30:52 +0000
(10:30 +0000)
committer
eap
<eap@opencascade.com>
Sun, 11 Mar 2012 10:30:52 +0000
(10:30 +0000)
print errors occured while loading plugins
src/SMESH_SWIG/smesh.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index e9f7e01142f4654d1e03f13f5b0a7080bf675a67..ebddea0b39ce16df55437f1c7b9d0ca2dc4b7d29 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-47,7
+47,8
@@
for pluginName in os.environ["SMESH_MeshersList"].split(":"):
pluginName += "DC"
try:
exec("from %s import *" % pluginName )
- except:
+ except Exception, e:
+ print "Exception while loading %s: %s" % ( pluginName, e )
continue
exec("import %s" % pluginName )
plugin = eval(pluginName)