Skip to content

Commit

Permalink
Merge pull request #1799 from timbrel/fixup-new-mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
kaste authored Oct 16, 2023
2 parents c6f229a + f3b6bcb commit c55d758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/git_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ def on_line(line: bytes,
on_stdout = partial(on_line, tag=Out)
on_stderr = partial(on_line, tag=Err)

out_f = run_as_future(map_, read_linewise(proc.stdout), on_stdout) # type: ignore[arg-type]
err_f = run_as_future(map_, read_bytewise(proc.stderr), on_stderr) # type: ignore[arg-type]
out_f = run_as_future(map_, read_linewise(proc.stdout), on_stdout)
err_f = run_as_future(map_, read_bytewise(proc.stderr), on_stderr)
delay = chain([1, 2, 4, 8, 15, 30], repeat(50))

with proc:
Expand Down

0 comments on commit c55d758

Please sign in to comment.