Prevent windows line endings in bytecode report.

This commit is contained in:
Daniel Kirchner 2020-02-14 17:03:48 +01:00
parent ec4f9d0ed8
commit 50adb2943a

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")):