We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b02d8da commit 3c3c7e8Copy full SHA for 3c3c7e8
ssh_tunnel.py
@@ -39,7 +39,7 @@ def create_ssh_tunnel(hostname, local_socket, remote_socket):
39
try:
40
subprocess.run(ssh_tunnel_terminate_cmd)
41
os.remove(local_socket)
42
- except subprocess.CalledProcessError:
+ except (subprocess.CalledProcessError, FileNotFoundError):
43
pass
44
45
0 commit comments