fix for the case of

RuntimeError: Naming Service Unreacheable

-except ImportError:
+except:
This commit is contained in:
eap 2012-01-31 11:10:28 +00:00
parent 0dc8a37ac5
commit f0c9957f91
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {}

View File

@ -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