mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
Patch to fix build issues do to sphinx importing python modules and causing SIGSEGV
This commit is contained in:
parent
2e6e46ed60
commit
4f7b0accea
@ -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:
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user