mirror of
https://github.com/kennethreitz-archive/pyinstaller.git
synced 2026-06-05 23:50:17 +00:00
Fix an error when using a Windows checkout of PyInstaller under Linux
git-svn-id: http://svn.pyinstaller.org/trunk@646 8dd32b29-ccff-0310-8a9a-9233e24343b1
This commit is contained in:
@@ -55,7 +55,7 @@ def _save_data(filename, data):
|
|||||||
outf.close()
|
outf.close()
|
||||||
|
|
||||||
def _load_data(filename):
|
def _load_data(filename):
|
||||||
return eval(open(filename, 'r').read())
|
return eval(open(filename, 'r').read().replace("\r\n","\n"))
|
||||||
|
|
||||||
def setupUPXFlags():
|
def setupUPXFlags():
|
||||||
f = os.environ.get("UPX", "")
|
f = os.environ.get("UPX", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user