##// END OF EJS Templates
generate-working-copy-states: open() in binary mode when writing content...
Matt Harbison -
r23494:3849b894 default
parent child Browse files
Show More
@@ -79,7 +79,7 b' for filename, states in combinations:'
79 # write actual content
79 # write actual content
80 for filename, data in content:
80 for filename, data in content:
81 if data is not None:
81 if data is not None:
82 f = open(filename, 'w')
82 f = open(filename, 'wb')
83 f.write(data + '\n')
83 f.write(data + '\n')
84 f.close()
84 f.close()
85 elif os.path.exists(filename):
85 elif os.path.exists(filename):
General Comments 0
You need to be logged in to leave comments. Login now