Remove unneeded code from pywasmcross (#2224)

This was added by mistake in #2059
This commit is contained in:
Hood Chatham 2022-02-28 03:31:29 -08:00 committed by GitHub
parent 8d00451142
commit bb36171334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -613,12 +613,6 @@ def replay_compile(replay_from: int = 1, **kwargs):
if not build_log_path.is_file():
return
lines_str = (
subprocess.check_output(["wc", "-l", str(build_log_path)])
.decode()
.split(" ")[0]
)
num_lines = str(lines_str)
with open(build_log_path) as fd:
num_lines = sum(1 for _1 in fd) # type: ignore
fd.seek(0)