mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #8320 from ethereum/bytecodeReportLineEndings
Prevent windows line endings in bytecode report.
This commit is contained in:
commit
41e83dd33a
@ -6,7 +6,7 @@ import subprocess
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
SOLC_BIN = sys.argv[1]
|
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 optimize in [False, True]:
|
||||||
for f in sorted(glob.glob("*.sol")):
|
for f in sorted(glob.glob("*.sol")):
|
||||||
|
Loading…
Reference in New Issue
Block a user