Skip to content

Commit 6a71778

Browse files
authored
asyncssh: fix api change: make kwargs to posargs (#18)
The API in `SSHClientConfig.load` was changed from accepting `kwargs` to only positional args.
1 parent 3c10c1b commit 6a71778

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

sshfs/config.py

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,15 @@ def parse_config(
1717
with suppress(KeyError):
1818
local_user = getpass.getuser()
1919

20+
last_config = None
21+
reload = False
22+
2023
return SSHClientConfig.load(
21-
reload=False,
22-
last_config=None,
23-
config_paths=config_files,
24-
local_user=local_user,
25-
user=user,
26-
host=host,
27-
port=port,
24+
last_config,
25+
config_files,
26+
reload,
27+
local_user,
28+
user,
29+
host,
30+
port,
2831
)

0 commit comments

Comments
 (0)