From b80046af92efdec0ee50bc50aa8febe0c2113fbd Mon Sep 17 00:00:00 2001 From: "pascale.noyret" Date: Mon, 1 Apr 2019 16:03:31 +0200 Subject: [PATCH] pour dumper True en true --- Efi2Xsd/AccasXsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Efi2Xsd/AccasXsd.py b/Efi2Xsd/AccasXsd.py index 06d20b7b..c276eec6 100755 --- a/Efi2Xsd/AccasXsd.py +++ b/Efi2Xsd/AccasXsd.py @@ -220,7 +220,7 @@ class X_SIMP (X_definition): for val in self.defaut : txtDefaut+=str(val) +" " self.texteElt = eltWithDefautDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1,txtDefaut) else : - if self.defaut == True : txtDefaut = 'true' + if str(self.defaut) == 'True' : txtDefaut = 'true' else : txtDefaut = str(self.defaut) self.texteElt = eltWithDefautDsSequence.format(self.nom,self.code,self.nomDuTypePyxb,minOccurs,1,txtDefaut) -- 2.39.2