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:
parent
f2e81a8b5b
commit
fa0d099707
@ -181,7 +181,7 @@ def _resolve_known_hosts(strict_host_check):
|
|||||||
if isinstance(strict_host_check, (str, os.PathLike)):
|
if isinstance(strict_host_check, (str, os.PathLike)):
|
||||||
path = Path(strict_host_check)
|
path = Path(strict_host_check)
|
||||||
else:
|
else:
|
||||||
path = Path('~/.ssh/known_hosts').expandvars()
|
path = Path('~/.ssh/known_hosts').expanduser()
|
||||||
else:
|
else:
|
||||||
path = Path('/dev/null')
|
path = Path('/dev/null')
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user