From: pascale.noyret Date: Fri, 5 May 2017 09:26:09 +0000 (+0200) Subject: variables to be printed X-Git-Tag: Salome_8_3_Hydro_2_0rc1~42 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=61bcb37cdd263cd819e4640b6c131cbc20df799b;p=modules%2Feficas.git variables to be printed --- diff --git a/generator/generator_TELEMAC.py b/generator/generator_TELEMAC.py index d2444cfa..03607228 100644 --- a/generator/generator_TELEMAC.py +++ b/generator/generator_TELEMAC.py @@ -223,8 +223,9 @@ class TELEMACGenerator(PythonGenerator): return s nom=self.dicoCataToCas[obj.nom] - if nom == "VARIABLES FOR GRAPHIC PRINTOUTS" : s3=s3.replace(';',',') - if nom == "VARIABLES POUR LES SORTIES GRAPHIQUES" : s3=s3.replace(';',',') + if nom in ["VARIABLES FOR GRAPHIC PRINTOUTS", "VARIABLES POUR LES SORTIES GRAPHIQUES", "VARIABLES TO BE PRINTED","VARIABLES A IMPRIMER"] : + s3=s3.replace(';',',') + s3="'"+ s3 +"'" if s3 == "" or s3 == " " : s3 = "None" ligne=nom+ " : " + s3 + "\n" if len(ligne) > 72 : ligne=self.redecoupeLigne(nom,s3)