Skip to content

Commit fa0d099

Browse files
committed
ssh: Fix incorrect method name
1 parent f2e81a8 commit fa0d099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devlib/utils/ssh.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def _resolve_known_hosts(strict_host_check):
181181
if isinstance(strict_host_check, (str, os.PathLike)):
182182
path = Path(strict_host_check)
183183
else:
184-
path = Path('~/.ssh/known_hosts').expandvars()
184+
path = Path('~/.ssh/known_hosts').expanduser()
185185
else:
186186
path = Path('/dev/null')
187187

0 commit comments

Comments
 (0)