We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc07328 commit 4fb3d70Copy full SHA for 4fb3d70
sshtunnel.py
@@ -1036,13 +1036,13 @@ def _read_ssh_config(ssh_host,
1036
except (AttributeError, TypeError): # ssh_config_file is None
1037
if logger:
1038
logger.info('Skipping loading of ssh configuration file')
1039
- finally:
1040
- return (ssh_host,
1041
- ssh_username or getpass.getuser(),
1042
- ssh_pkey,
1043
- int(ssh_port) if ssh_port else 22, # fallback value
1044
- ssh_proxy,
1045
- compression)
+
+ return (ssh_host,
+ ssh_username or getpass.getuser(),
+ ssh_pkey,
+ int(ssh_port) if ssh_port else 22, # fallback value
+ ssh_proxy,
+ compression)
1046
1047
@staticmethod
1048
def get_agent_keys(logger=None):
0 commit comments