From 5fdbbfb4fb933fb14c3ebc14e1493b089fb72f47 Mon Sep 17 00:00:00 2001 From: PASCALE NOYRET Date: Mon, 30 May 2022 09:33:08 +0200 Subject: [PATCH] pour test par Eric --- generator/generator_XML.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generator/generator_XML.py b/generator/generator_XML.py index f336e416..4d62847f 100644 --- a/generator/generator_XML.py +++ b/generator/generator_XML.py @@ -79,6 +79,9 @@ class XMLGenerator(PythonGenerator): #---------------------------------------------------------------------------------------- def writeDefault(self,fn) : + if self.texteXML=='erreur generation' : + print (self.texteXML) + return fileXML = fn[:fn.rfind(".")] + '.xml' #filePyxb = fn[:fn.rfind(".")] + '.py' fileBase = os.path.basename(fileXML) -- 2.39.2