Patch to fix build issues do to sphinx importing python modules and causing SIGSEGV

This commit is contained in:
rnc 2013-05-23 09:55:31 +00:00
parent 2e6e46ed60
commit 4f7b0accea

View File

@ -27,10 +27,9 @@ import salome
SMESH = None # SMESH module is loaded only when needed
from salome.kernel.studyedit import getStudyEditor
try:
from salome.kernel.deprecation import is_called_by_sphinx
if not is_called_by_sphinx():
from salome.gui import helper
except ImportError:
pass
class SMeshStudyTools:
"""