Move get_connection_data to utils module as it is not needed for the actual kitten

This commit is contained in:
Kovid Goyal
2023-02-24 10:09:32 +05:30
parent e02ba7f389
commit 525caff938
4 changed files with 90 additions and 87 deletions

View File

@@ -959,7 +959,7 @@ class Window:
def handle_remote_file(self, netloc: str, remote_path: str) -> None:
from kittens.remote_file.main import is_ssh_kitten_sentinel
from kittens.ssh.main import get_connection_data
from kittens.ssh.utils import get_connection_data
from .utils import SSHConnectionData
args = self.ssh_kitten_cmdline()