Salome HOME
projects
/
tools
/
eficas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
commentaire
[tools/eficas.git]
/
Noyau
/
N_OPS.py
diff --git
a/Noyau/N_OPS.py
b/Noyau/N_OPS.py
index c9e1d6ed6e4d150ab3dbe6dac0e960028eecd5f8..3b77056a8b03eeb6f26118945f38e9207e33344e 100644
(file)
--- a/
Noyau/N_OPS.py
+++ b/
Noyau/N_OPS.py
@@
-17,10
+17,15
@@
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-from N_utils import import_object
+from __future__ import absolute_import
+try :
+ from builtins import object
+except :
+ pass
+from .N_utils import import_object
-class OPS:
+class OPS
(object)
:
"""Wrapper to ops functions.
This allows to import them only when they are needed."""
"""Wrapper to ops functions.
This allows to import them only when they are needed."""