diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-28 12:18:49 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-28 12:18:49 -0800 |
commit | 09d0ba71137934406f79d2de5cd335e4af1c7dcf (patch) | |
tree | 44636ffa20faae9307b2e840fd7f033c34b05665 /src/script | |
parent | 74e51ad2173ce988bb6de4bd17b23499f056303b (diff) | |
download | scons-09d0ba71137934406f79d2de5cd335e4af1c7dcf.tar.gz |
fix binary/non-binary file writes where appropriate, previous all were binary. py2/3
Diffstat (limited to 'src/script')
-rw-r--r-- | src/script/scons-time.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/scons-time.py b/src/script/scons-time.py index 9faf0453..c788e50f 100644 --- a/src/script/scons-time.py +++ b/src/script/scons-time.py @@ -248,7 +248,7 @@ def unzip(fname): os.makedirs(dir) except: pass - open(name, 'w').write(zf.read(name)) + open(name, 'wb').write(zf.read(name)) def read_tree(dir): for dirpath, dirnames, filenames in os.walk(dir): |