From: PASCALE NOYRET Date: Mon, 30 May 2022 07:33:08 +0000 (+0200) Subject: pour test par Eric X-Git-Tag: merge_uncertainty_odysee_1210~84 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5fdbbfb4fb933fb14c3ebc14e1493b089fb72f47;p=tools%2Feficas.git pour test par Eric --- 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)