48 |
47 |
49 @param s string to be written to the XML file |
48 @param s string to be written to the XML file |
50 @param newline flag indicating a linebreak |
49 @param newline flag indicating a linebreak |
51 """ |
50 """ |
52 self.pf.write("%s%s" % (s, |
51 self.pf.write("%s%s" % (s, |
53 newline and os.linesep or "")) |
52 newline and "\n" or "")) |
54 |
53 |
55 def writeXML(self): |
54 def writeXML(self): |
56 """ |
55 """ |
57 Public method to write the XML to the file. |
56 Public method to write the XML to the file. |
58 """ |
57 """ |