From 7605403dae6046875418f5881c4ae79c1699b7ee Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Fri, 16 Jun 2017 13:11:46 +0200 Subject: [PATCH] Correcting EFICAS import error --- src/daEficas/configuration_ADAO.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/src/daEficas/configuration_ADAO.py b/src/daEficas/configuration_ADAO.py index 98aec1d..c24669a 100644 --- a/src/daEficas/configuration_ADAO.py +++ b/src/daEficas/configuration_ADAO.py @@ -20,10 +20,10 @@ # # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # -# Author: André Ribes, andre.ribes@edf.fr, EDF R&D +# Author: André Ribes, andre.ribes@edf.fr, EDF R&D """ - Ce module sert pour charger les paramètres de configuration d'EFICAS + Ce module sert pour charger les paramètres de configuration d'EFICAS """ # Modules Python # print "passage dans la surcharge de configuration pour Adao" @@ -36,7 +36,6 @@ else: from PyQt4.QtGui import * # Modules Eficas -from Editeur import utils from InterfaceQT4 import configuration # Classe de base permettant de lire, afficher @@ -49,15 +48,15 @@ class CONFIG(configuration.CONFIG_BASE): self.labels_eficas = ['lang','rep_cata','catalogues','closeAutreCommande','closeFrameRechercheCommande','closeEntete','taille'] configuration.CONFIG_BASE.__init__(self,appli,repIni) - self.rep_user = os.environ["HOME"] - self.appli = appli - self.code = appli.code - # self.lang = "fr" - self.rep_ini = repIni - self.rep_mat=" " # Compatbilite Aster - self.savedir = self.rep_user + self.rep_user = os.environ["HOME"] + self.appli = appli + self.code = appli.code + # self.lang = "fr" + self.rep_ini = repIni + self.rep_mat = " " # Compatbilite Aster + self.savedir = self.rep_user self.generator_module = "generator_adao" - self.convert_module = "convert_adao" + self.convert_module = "convert_adao" # Format des catalogues... # (code, version, catalogue, formatIn, formatOut) -- 2.39.2