Merge pull request #8320 from ethereum/bytecodeReportLineEndings

Prevent windows line endings in bytecode report.
This commit is contained in:
chriseth 2020-02-14 17:33:24 +01:00 committed by GitHub
commit 41e83dd33a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ import subprocess
import json
SOLC_BIN = sys.argv[1]
REPORT_FILE = open("report.txt", mode="w", encoding='utf8')
REPORT_FILE = open("report.txt", mode="w", encoding='utf8', newline='\n')
for optimize in [False, True]:
for f in sorted(glob.glob("*.sol")):