mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-12 14:54:33 +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.gui import helper
|
||||
except ImportError:
|
||||
pass
|
||||
from salome.kernel.deprecation import is_called_by_sphinx
|
||||
if not is_called_by_sphinx():
|
||||
from salome.gui import helper
|
||||
|
||||
class SMeshStudyTools:
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user