daboide Commit
Revision 418
Date: 2006-01-31 11:59:47 -0800 (Tue, 31 Jan 2006)
Author: paul
Changed:
U trunk/ReportDesigner.py
Log:
The report designer was saving the xml in ascii mode instead of binary mode,
adding an extra 0D (chr 13) on Windows, because the xml serialization already
handles this. Changing to binary mode saving fixes the issue.
Diff:
Modified: trunk/ReportDesigner.py
===================================================================
--- trunk/ReportDesigner.py 2006-01-31 19:56:35 UTC (rev 417)
+++ trunk/ReportDesigner.py 2006-01-31 19:59:47 UTC (rev 418)
@@ -1748,7 +1748,7 @@
else:
self._fileName = fileSpec
xml = self._rw._getXMLFromForm(self._rw.ReportForm)
- file = open(fileSpec, "w")
+ file = open(fileSpec, "wb")
file.write(xml)
file.close()
self._rw._setMemento()
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev