E5XML/XMLWriterBase.py

changeset 245
de5c4effc747
parent 110
c9a969db1469
child 412
569efd7f2716
child 792
a13346916170
--- a/E5XML/XMLWriterBase.py	Thu May 13 14:36:46 2010 +0200
+++ b/E5XML/XMLWriterBase.py	Fri May 14 12:31:34 2010 +0200
@@ -7,7 +7,6 @@
 Module implementing a base class for all of eric5s XML writers.
 """
 
-import os
 import pickle
 import base64
 
@@ -50,7 +49,7 @@
         @param newline flag indicating a linebreak
         """
         self.pf.write("%s%s" % (s, 
-            newline and os.linesep or ""))
+            newline and "\n" or ""))
         
     def writeXML(self):
         """

eric ide

mercurial