mirror of https://github.com/pyodide/pyodide.git
Remove unneeded code from pywasmcross (#2224)
This was added by mistake in #2059
This commit is contained in:
parent
8d00451142
commit
bb36171334
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue