ControlMaster must not suppress exceptions

This commit is contained in:
Kovid Goyal 2021-08-13 17:02:27 +05:30
parent 5a92d3f312
commit 5a76dab3c6
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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])