E5XML/ProjectWriter.py

changeset 253
3ccdf551bde7
parent 151
00c27aeede62
child 411
99409cddaaa9
child 792
a13346916170
--- a/E5XML/ProjectWriter.py	Sat May 15 10:19:07 2010 +0200
+++ b/E5XML/ProjectWriter.py	Sat May 15 15:29:39 2010 +0200
@@ -62,8 +62,8 @@
         if len(self.pdata["SPELLEXCLUDES"][0]) > 0:
             self._write("  <ProjectExcludeList>%s</ProjectExcludeList>" % \
                 Utilities.fromNativeSeparators(self.pdata["SPELLEXCLUDES"][0]))
-        
-        # do the hash
+        
+        # do the hash
         self._write('  <Hash>%s</Hash>' % self.pdata["HASH"][0])
         
         # do the programming language
@@ -95,6 +95,10 @@
             self._write("  <TranslationsBinPath>%s</TranslationsBinPath>" % \
                 Utilities.fromNativeSeparators(self.pdata["TRANSLATIONSBINPATH"][0]))
         
+        # do the eol setting
+        if self.pdata["EOL"] and self.pdata["EOL"][0]:
+            self._write('  <Eol index="%d" />' % self.pdata["EOL"][0])
+        
         # do the sources
         self._write("  <Sources>")
         for name in self.pdata["SOURCES"]:

eric ide

mercurial