Commit 58cfc3cd authored by Dieter Verfaillie's avatar Dieter Verfaillie Committed by John (J5) Palmieri
Browse files

dsextras.py: ensure eol characters are preserved when writing template files...

dsextras.py: ensure eol characters are preserved when writing template files (so \n does not become \r\n)
parent 629d2674
......@@ -271,7 +271,7 @@ class InstallData(install_data):
output = os.path.join(install_dir, output_file)
self.mkpath(install_dir)
open(output, 'w').write(template)
open(output, 'wb').write(template)
self.local_inputs.append(filename)
self.local_outputs.append(output)
return output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment