Salome HOME
Correction encoding fichiers
authorGilles DAVID <gilles-g.david@edf.fr>
Thu, 15 Jun 2017 14:23:47 +0000 (16:23 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Wed, 6 Sep 2017 08:01:00 +0000 (10:01 +0200)
src/CONFIG/eficasConfig.py
src/EFICASGUI/eficas_etude.py

index fa62dc7239b74b86d7348cb66f6cd8cc64aeda7d..e17160bef8859e1485025257617c1bf4c60cb187 100644 (file)
@@ -1,10 +1,8 @@
-# -*- coding: utf-8 -*-
-
 import os
 
-# répertoire du logiciel Eficas
+# répertoire du logiciel Eficas
 eficasPath = ''
-if os.environ.has_key( "EFICAS_ROOT"):
+if "EFICAS_ROOT" in os.environ:
     eficasPath = os.environ["EFICAS_ROOT"]
 
 
index dc7834b26468b86ee14eaef3a13a90b24dc5c31d..5cda965690893b9461e3f6bf10ca7a8b99f4791e 100644 (file)
@@ -1,12 +1,10 @@
-# -*- coding: utf-8 -*-
-
 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 # CE FICHIER EST CREE UNIQUEMENT POUR ASSURER LA COMPATIBILITE
 # ASCENDANTE DES VERSIONS DE EFICAS. NE PAS EDITER, MODIFIER eficasEtude.
 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# En version 1.5 et 1.6 de Eficas, l'implémentation du couplage avec
-# SALOME comprend l'import d'un fichier nommé eficas_etude. En version
-# préparatoire de la version 1.7, cette implémentation comprend l'import
+# En version 1.5 et 1.6 de Eficas, l'implémentation du couplage avec
+# SALOME comprend l'import d'un fichier nommé eficas_etude. En version
+# préparatoire de la version 1.7, cette implémentation comprend l'import
 # d'un fichier eficasEtude. A terme, seul le fichier eficasEtude restera.
 # _CS_gbo_151104