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:
parent
2868d505b8
commit
98abca6e8e
1 changed files with 3 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue