Skip to content

Commit

Permalink
umc ide: Use binary mode when modifying version
Browse files Browse the repository at this point in the history
  • Loading branch information
timotei committed Mar 21, 2015
1 parent 613e8bc commit 920f59f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/umc_dev/build/update_version
Expand Up @@ -17,7 +17,7 @@ else:

print "Processing: ", sourcePath
input = open(sourcePath)
output = open(targetPath, "w")
output = open(targetPath, "wb")
for s in input.xreadlines():
output.write(s.replace(stext, rtext))
input.close()
Expand Down

0 comments on commit 920f59f

Please sign in to comment.