mirror of
https://github.com/ARM-software/devlib.git
synced 2025-07-05 13:22:42 +01:00
ssh: Fix incorrect method name
This commit is contained in:
@ -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')
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user