mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-22 11:40:32 +05:00
fix for the case of
RuntimeError: Naming Service Unreacheable -except ImportError: +except:
This commit is contained in:
parent
0dc8a37ac5
commit
f0c9957f91
@ -34,7 +34,7 @@ from salome.kernel.studyedit import getActiveStudyId, getStudyEditor
|
||||
from salome.kernel.services import IDToObject
|
||||
try:
|
||||
from salome.gui import helper
|
||||
except ImportError:
|
||||
except:
|
||||
pass
|
||||
|
||||
_geompys = {}
|
||||
|
@ -48,7 +48,7 @@ Additionnal examples can be found as unit tests in the source code.
|
||||
geompyEnable = True
|
||||
try:
|
||||
import geompy
|
||||
except ImportError:
|
||||
except:
|
||||
geompyEnable = False
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user