mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-01 17:41:54 +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