mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-18 12:50:36 +05:00
0021308: Remove hard-coded dependency of the external mesh plugins from the SMESH module
print errors occured while loading plugins
This commit is contained in:
parent
28bb38ba81
commit
344f1bff78
@ -47,7 +47,8 @@ for pluginName in os.environ["SMESH_MeshersList"].split(":"):
|
|||||||
pluginName += "DC"
|
pluginName += "DC"
|
||||||
try:
|
try:
|
||||||
exec("from %s import *" % pluginName )
|
exec("from %s import *" % pluginName )
|
||||||
except:
|
except Exception, e:
|
||||||
|
print "Exception while loading %s: %s" % ( pluginName, e )
|
||||||
continue
|
continue
|
||||||
exec("import %s" % pluginName )
|
exec("import %s" % pluginName )
|
||||||
plugin = eval(pluginName)
|
plugin = eval(pluginName)
|
||||||
|
Loading…
Reference in New Issue
Block a user