1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-03-03 16:57:51 +00:00

ssh: Fix incorrect method name

This commit is contained in:
Marc Bonnici 2025-03-01 16:36:42 -06:00
parent f2e81a8b5b
commit fa0d099707

View File

@ -181,7 +181,7 @@ def _resolve_known_hosts(strict_host_check):
if isinstance(strict_host_check, (str, os.PathLike)):
path = Path(strict_host_check)
else:
path = Path('~/.ssh/known_hosts').expandvars()
path = Path('~/.ssh/known_hosts').expanduser()
else:
path = Path('/dev/null')