ControlMaster must not suppress exceptions
This commit is contained in:
parent
5a92d3f312
commit
5a76dab3c6
@ -138,7 +138,6 @@ class ControlMaster:
|
|||||||
).wait()
|
).wait()
|
||||||
if self.tdir:
|
if self.tdir:
|
||||||
shutil.rmtree(self.tdir)
|
shutil.rmtree(self.tdir)
|
||||||
return True
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_alive(self) -> bool:
|
def is_alive(self) -> bool:
|
||||||
@ -293,6 +292,7 @@ def handle_action(action: str, cli_opts: RemoteFileCLIOptions) -> Result:
|
|||||||
if not master.download():
|
if not master.download():
|
||||||
show_error(f'Failed to download {remote_path}')
|
show_error(f'Failed to download {remote_path}')
|
||||||
return None
|
return None
|
||||||
|
1/0
|
||||||
mtime = os.path.getmtime(master.dest)
|
mtime = os.path.getmtime(master.dest)
|
||||||
print(reset_terminal(), end='', flush=True)
|
print(reset_terminal(), end='', flush=True)
|
||||||
editor_process = subprocess.Popen(editor + [master.dest])
|
editor_process = subprocess.Popen(editor + [master.dest])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user