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

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 13 Jul 2013 15:47:47 +0200
branch
5_3_x
changeset 2797
39951e911d6b
parent 2793
198484048e37
child 2801
8ccc38b80dc2

A little change to make the generation of the PKGLIST file platform independant.
(grafted from 3584161f55e7f4a24f1c255a78db1ea4f6d32c3b)

Project/Project.py file | annotate | diff | comparison | revisions
--- a/Project/Project.py	Sat Jul 13 11:33:28 2013 +0200
+++ b/Project/Project.py	Sat Jul 13 15:47:47 2013 +0200
@@ -4231,7 +4231,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