mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
Remove unused code
This commit is contained in:
parent
98f46f8bd7
commit
4c9a75c1ba
@ -297,12 +297,6 @@ def fork(shm_address: str, ready_fd: int) -> int:
|
||||
sys.stdin = sys.__stdin__
|
||||
|
||||
|
||||
def waitstatus_to_exit_code(status: int) -> int:
|
||||
with suppress(ValueError, AttributeError):
|
||||
return os.waitstatus_to_exitcode(status)
|
||||
return 0
|
||||
|
||||
|
||||
def main(args: List[str] = sys.argv) -> None:
|
||||
read_signal_fd, write_signal_fd = safe_pipe()
|
||||
notify_child_death_fd = int(sys.argv[-1])
|
||||
|
Loading…
Reference in New Issue
Block a user