Skip to content

Commit 6432872

Browse files
authored
Fix broken log message (in that branch it did not match the arguments). (#3634)
1 parent b036f7d commit 6432872

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/tox/execute/local_sub_process/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def interrupt(self) -> None:
8585
self._process.send_signal(SIG_INTERRUPT)
8686
if self.wait(self.options.interrupt_timeout) is None: # still alive -> TERM # pragma: no branch
8787
terminate_output = self.options.terminate_timeout
88+
msg = "send signal %s to %d from %d with timeout %.2f"
8889
logging.warning(msg, f"SIGTERM({SIGTERM})", to_pid, host_pid, terminate_output)
8990
self._process.terminate()
9091
# Windows terminate is UNIX kill

0 commit comments

Comments
 (0)