Skip to content

Commit

Permalink
config is perfect. test case needs revision
Browse files Browse the repository at this point in the history
  • Loading branch information
99-NinetyNine authored Jan 8, 2025
1 parent dcd13ed commit de2efbd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sshfs/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def parse_config(*, host, user=(), port=(), local_user=None, config_files=None):
else:
canonical = False # Fixed typo
final = False # Fixed typo
config = SSHClientConfig.load(
return SSHClientConfig.load(
last_config,
config_files,
reload,
Expand All @@ -45,9 +45,3 @@ def parse_config(*, host, user=(), port=(), local_user=None, config_files=None):
host,
port,
)
# the proxycommand is returned in str here
# test compares as list
#this is done just to compatible with prev test case
if config.get("ProxyCommand", None):
config._set_string_list("ProxyCommand", config.get("ProxyCommand").split())
return config

0 comments on commit de2efbd

Please sign in to comment.