Commit 337ce0de authored by Jason R. Coombs's avatar Jason R. Coombs

Backed out changeset: 1ceaffff2d9b (restoring b0a2fcc5275a). Ref #193

--HG--
extra : rebase_source : 5ca0514bbe3ec025094ea8f39921722d0ab3dd05
parent 1535176a
......@@ -303,7 +303,6 @@ def write_file(filename, contents):
sequence of strings without line terminators) to it.
"""
contents = "\n".join(contents)
if sys.version_info >= (3,):
contents = contents.encode("utf-8")
f = open(filename, "wb") # always write POSIX-style manifest
f.write(contents)
......
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