| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 59efde9 commit 484b3df
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1473,10 +1473,7 @@ def kill_process(pid: int) -> None: | |||
| 1473 | 1473 | return | |
| 1474 | 1474 | ||
| 1475 | 1475 | def make_timeout_error() -> Union[str, bytes]: | |
| 1476 | - err = 'Timeout: the command "%s" did not complete in %d secs.' % ( | ||
| 1477 | - " ".join(redacted_command), | ||
| 1478 | - timeout, | ||
| 1479 | - ) | ||
| 1476 | + err = f'Timeout: the command "{" ".join(redacted_command)}" did not complete in {timeout:g} secs.' | ||
| 1480 | 1477 | return err if universal_newlines else err.encode(defenc) | |
| 1481 | 1478 | ||
| 1482 | 1479 | def communicate() -> Tuple[AnyStr, AnyStr]: | |
| Back | FazBrowse Home | New Git URL |
0 commit comments