From: pascale.noyret Date: Thu, 4 May 2017 10:05:53 +0000 (+0200) Subject: enleve le dernier ; des listes de chaines X-Git-Tag: V8_3_0~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a2fbf882992613abf84cb2680942396e3962ed0;p=tools%2Feficas.git enleve le dernier ; des listes de chaines --- diff --git a/generator/generator_TELEMAC.py b/generator/generator_TELEMAC.py index fd095be6..d2444cfa 100644 --- a/generator/generator_TELEMAC.py +++ b/generator/generator_TELEMAC.py @@ -197,6 +197,9 @@ class TELEMACGenerator(PythonGenerator): sTelemac=sTelemac[0:-1] if sTelemac.find("'") > 0 : sTelemac= sTelemac.replace (',',';\n ') + # on enleve le dernier ';' + index=(sTelemac.rfind(";")) + sTelemac=sTelemac[:index]+' '+sTelemac[index+1:] if self.langue=='fr' :