dabo Commit Revision 1883 Date: 2006-01-31 11:58:23 -0800 (Tue, 31 Jan 2006) Author: paul
Changed: U trunk/dabo/lib/reportWriter.py
Log: The xml header wasn't being converted to native line endings. Fixed.
Diff: Modified: trunk/dabo/lib/reportWriter.py =================================================================== --- trunk/dabo/lib/reportWriter.py 2006-01-31 17:28:37 UTC (rev 1882) +++ trunk/dabo/lib/reportWriter.py 2006-01-31 19:58:23 UTC (rev 1883) @@ -1490,7 +1490,7 @@ def _getXmlHeader(self): """Returns the XML header for the rfxml document.""" - return """<?xml version="1.0" encoding="UTF-8" standalone="yes"?> + header = """<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <!-- This is a Dabo report form xml (rfxml) document, describing a @@ -1498,7 +1498,9 @@ be edited by hand or by using the Dabo Report Designer. --> + """ + return os.linesep.join(header.splitlines()) def _setMemento(self):
©2006 Paul McNett |