mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-22 20:17:45 +03:00
ControlMaster must not suppress exceptions
This commit is contained in:
parent
5a92d3f312
commit
5a76dab3c6
@ -138,7 +138,6 @@ def __exit__(self, *a: Any) -> bool:
|
||||
).wait()
|
||||
if self.tdir:
|
||||
shutil.rmtree(self.tdir)
|
||||
return True
|
||||
|
||||
@property
|
||||
def is_alive(self) -> bool:
|
||||
@ -293,6 +292,7 @@ def handle_action(action: str, cli_opts: RemoteFileCLIOptions) -> Result:
|
||||
if not master.download():
|
||||
show_error(f'Failed to download {remote_path}')
|
||||
return None
|
||||
1/0
|
||||
mtime = os.path.getmtime(master.dest)
|
||||
print(reset_terminal(), end='', flush=True)
|
||||
editor_process = subprocess.Popen(editor + [master.dest])
|
||||
|
Loading…
Reference in New Issue
Block a user