X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=Ihm%2FI_REGLE.py;h=d2c30f352ae8c267bd03da5891593804e7a424c4;hb=e4f9ed44499c18435beb762c4deb1df9f1c8343a;hp=56e1febfd2c9bc2b327495e1f89a4e333e209fdc;hpb=5a28801efd8fd7e6487d1957dabac40b1f932cb4;p=tools%2Feficas.git diff --git a/Ihm/I_REGLE.py b/Ihm/I_REGLE.py index 56e1febf..d2c30f35 100644 --- a/Ihm/I_REGLE.py +++ b/Ihm/I_REGLE.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 2007-2017 EDF R&D +# Copyright (C) 2007-2021 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -47,12 +47,12 @@ class REGLE: return [] - def enregistreXML(self,root,catalogueXml): - import xml.etree.ElementTree as ET - regleXml=ET.SubElement(root,'regles') - txt="" - for mot in self.getText().split('\n'): - mot.replace(' ','') - txt=txt + mot + " " - regleXml.text= txt +# def enregistreXML(self,root,catalogueXml): +# import xml.etree.ElementTree as ET +# regleXml=ET.SubElement(root,'regles') +# txt="" +# for mot in self.getText().split('\n'): +# mot.replace(' ','') +# txt=txt + mot + " " +# regleXml.text= txt