equal
deleted
inserted
replaced
172 "xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", |
172 "xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance", |
173 "xsi:schemaLocation" : "python_xsd.xsd"} |
173 "xsi:schemaLocation" : "python_xsd.xsd"} |
174 text += self.PythonCode.generateXMLText("Python", 0, extras) |
174 text += self.PythonCode.generateXMLText("Python", 0, extras) |
175 |
175 |
176 xmlfile = open(filepath,"w") |
176 xmlfile = open(filepath,"w") |
177 xmlfile.write(text) |
177 xmlfile.write(text.encode("utf-8")) |
178 xmlfile.close() |
178 xmlfile.close() |
179 |
179 |
180 self.PythonBuffer.CurrentSaved() |
180 self.PythonBuffer.CurrentSaved() |
181 return True |
181 return True |
182 |
182 |