X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=InterfaceQT4%2FssIhm.py;h=350cfb73e8557f312eeab0297b3f4091d346fdf7;hb=96176d0080e0d4efbd29d98c0df700a64a82acdc;hp=aa532c62f62f20d371ff5a4f97caa3c20d74416f;hpb=16d5922e798b1254eb558678612711d72ed38b32;p=tools%2Feficas.git diff --git a/InterfaceQT4/ssIhm.py b/InterfaceQT4/ssIhm.py index aa532c62..350cfb73 100644 --- a/InterfaceQT4/ssIhm.py +++ b/InterfaceQT4/ssIhm.py @@ -18,8 +18,11 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # # permet de lancer EFICAS en n affichant rien +try : + from builtins import object +except : pass -class appliEficasSSIhm: +class appliEficasSSIhm(object): def __init__ (self,code): self.VERSION_EFICAS="Sans Ihm" self.code=code @@ -47,7 +50,7 @@ class appliEficasSSIhm: configuration=__import__(nameConf) self.CONFIGURATION = configuration.make_config(self,prefsCode.repIni) -class QWParentSSIhm: +class QWParentSSIhm(object): def __init__(self,code,appliEficas,version_code,ssCode=None): self.ihm="QT" self.code=code