Skip to content

Commit

Permalink
Merge pull request ethereum#8320 from ethereum/bytecodeReportLineEndings
Browse files Browse the repository at this point in the history
Prevent windows line endings in bytecode report.
  • Loading branch information
chriseth authored Feb 14, 2020
2 parents ec4f9d0 + 50adb29 commit 41e83dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/bytecodecompare/prepare_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
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")):
Expand Down

0 comments on commit 41e83dd

Please sign in to comment.