]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
pour test par Eric
authorPASCALE NOYRET <pascale.noyret@edf.fr>
Mon, 30 May 2022 07:33:08 +0000 (09:33 +0200)
committerPASCALE NOYRET <pascale.noyret@edf.fr>
Mon, 30 May 2022 07:33:08 +0000 (09:33 +0200)
generator/generator_XML.py

index f336e41609ecf46c2ce1505d8fa36b9c29d58258..4d62847f2b36a9de3d3c8b6defce6af56641333b 100644 (file)
@@ -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)