A little change to make the generation of the PKGLIST file platform independant.

Sat, 13 Jul 2013 15:47:47 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 13 Jul 2013 15:47:47 +0200
changeset 2796
3584161f55e7
parent 2795
641d03b2aa8c
child 2798
c349fa5fe7c0

A little change to make the generation of the PKGLIST file platform independant.

Project/Project.py file | annotate | diff | comparison | revisions
diff -r 641d03b2aa8c -r 3584161f55e7 Project/Project.py
--- a/Project/Project.py	Sat Jul 13 15:41:39 2013 +0200
+++ b/Project/Project.py	Sat Jul 13 15:47:47 2013 +0200
@@ -4266,7 +4266,7 @@
             else:
                 newline = self.getEolString()
             pkglistFile = open(pkglist, "w", encoding="utf-8", newline=newline)
-            pkglistFile.write("\n".join(lst))
+            pkglistFile.write("\n".join([Utilities.fromNativeSeparators(f) for f in lst]))
             pkglistFile.write("\n")  # ensure the file ends with an empty line
             pkglistFile.close()
         except IOError as why:

eric ide

mercurial