# -*- coding: utf-8 -*-
#
-# Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2013 CEA/DEN, EDF R&D, OPEN CASCADE
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
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:
"""