From 78d7d01d03e73e2b8d6459f04fe0e91285312a17 Mon Sep 17 00:00:00 2001 From: Sailesh <58628378+99-NinetyNine@users.noreply.github.com> Date: Tue, 7 Jan 2025 08:00:12 +0545 Subject: [PATCH] typo --- dvc_ssh/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dvc_ssh/__init__.py b/dvc_ssh/__init__.py index 81b1ab8..633855a 100644 --- a/dvc_ssh/__init__.py +++ b/dvc_ssh/__init__.py @@ -52,7 +52,7 @@ def _prepare_credentials(self, **config): "client_factory", InteractiveSSHClient ) try: - assert config.get("host) is not None + assert config.get("host") is not None user_ssh_config = parse_config( host=config["host"], port=config.get("port", DEFAULT_PORT) ) @@ -61,6 +61,7 @@ def _prepare_credentials(self, **config): user_ssh_config = {} except Exception: # host could have been None + # just doing this to check if test passes user_ssh_config = {} login_info["host"] = user_ssh_config.get("Hostname", config["host"])