From ee3ecbef8276807ebbfe4940a2421601ea90c5dc Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Wed, 23 Jun 2021 11:38:45 +0200 Subject: [PATCH] ajout du .s pour les string avec balncs --- generator/generator_XML.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/generator_XML.py b/generator/generator_XML.py index e4d882bd..451601af 100644 --- a/generator/generator_XML.py +++ b/generator/generator_XML.py @@ -105,7 +105,8 @@ class XMLGenerator(PythonGenerator): else : nomUtil = obj.nom self.dictNbNomObj[obj.nom] = 1 - self.textePourAide += nomUtil + " = vimmpCase." + obj.getNomDsXML() + "\n" + if obj.definition.avecBlancs : self.textePourAide += nomUtil + " = vimmpCase." + obj.getNomDsXML() + ".s\n" + else : self.textePourAide += nomUtil + " = vimmpCase." + obj.getNomDsXML() + "\n" self.textePourAide +='txt += "' + nomUtil + '" + " = " +str( ' + nomUtil + ')+"\\n"'+ "\n" -- 2.39.2