1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-01-17 00:38:06 +00:00

Update ssh.py

Fixed linting errors
This commit is contained in:
Jason Hall 2025-09-29 20:16:45 -04:00
parent 2868d505b8
commit 98abca6e8e

View file

@ -48,7 +48,9 @@ class SSHConnection(Connection):
proxy.credential.password.get_secret_value()
)
try:
return open_tunnel(ssh_address_or_host=proxy._target, ssh_port=proxy.port, **tunnel_kwargs)
return open_tunnel(
ssh_address_or_host=proxy._target, ssh_port=proxy.port, **tunnel_kwargs
)
except BaseSSHTunnelForwarderError as scrape_proxy_error:
log.bind(device=self.device.name, proxy=proxy.name).error(