X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Noyau%2FN_OPS.py;h=3b77056a8b03eeb6f26118945f38e9207e33344e;hb=9f4ff7ed9afd87c96e11d61e442e39e5511f60d1;hp=c9e1d6ed6e4d150ab3dbe6dac0e960028eecd5f8;hpb=479b2809fce994d6fc2fa7046bac6405daa0d706;p=tools%2Feficas.git diff --git a/Noyau/N_OPS.py b/Noyau/N_OPS.py index c9e1d6ed..3b77056a 100644 --- 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 -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."""