Bug 1374743 - allow wpt-update to work on windows and not rewrite newlines. r=jgraham

MozReview-Commit-ID: EHl6l7OGECg
This commit is contained in:
Joel Maher 2017-06-20 17:52:03 -04:00
parent 0f9310447e
commit d18e5d5e6c

View File

@ -204,7 +204,7 @@ def write_new_expected(metadata_path, expected_map):
dir = os.path.split(path)[0]
if not os.path.exists(dir):
os.makedirs(dir)
with open(path, "w") as f:
with open(path, "wb") as f:
f.write(manifest_str)