From: Pascale Noyret Date: Tue, 17 Mar 2009 10:06:07 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V0_a1_SEPQT4~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95e5b915b5d59897397c33ffffeaf18c4139f4df;p=tools%2Feficas.git *** empty log message *** --- diff --git a/generator/generator_cuve2dg.py b/generator/generator_cuve2dg.py index b1c91e2c..1e616ce9 100644 --- a/generator/generator_cuve2dg.py +++ b/generator/generator_cuve2dg.py @@ -100,8 +100,10 @@ class Cuve2dgGenerator(PythonGenerator): self.texteCuve+="############################################################################################"+"\n" self.texteCuve+="# OPTIONS : Fichier Option.don"+"\n" self.texteCuve+="############################################################################################"+"\n" - self.texteCuve+="INCRTPS = "+ str(self.dico_mot["IncrementTemporel"])+"\n" - self.imprime(2,(self.dico_mot["ProfilTemporel_Pression"])) + if self.dico_mot.has_key('IncrementTemporel'): + self.texteCuve+="INCRTPS = "+ str(self.dico_mot["IncrementTemporel"])+"\n" + if self.dico_mot.has_key('ProfilTemporel_Pression'): + self.imprime(2,(self.dico_mot["ProfilTemporel_Pression"])) def imprime(self,nbdeColonnes,valeur):