From 0a735fa69bf5e3d75092cdfad6a12636c2a63ab2 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sun, 18 Oct 2020 15:15:45 +0200 Subject: targets: import SSHRemote directly --- lbup/targets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbup/targets.py b/lbup/targets.py index 8e817b9..5923b02 100644 --- a/lbup/targets.py +++ b/lbup/targets.py @@ -9,8 +9,8 @@ import socket import subprocess from .exceptions import BackupException, RemoteExecException +from .ssh_remote import SSHRemote from . import repository -from . import ssh_remote from . import _ssh_client def _parse_name(name): @@ -31,7 +31,7 @@ def _parse_name(name): elif colons == 1: # host:port host, _, port = host.partition(':') - return ssh_remote.SSHRemote(host, port, username) + return SSHRemote(host, port, username) class Target(ABC): name = None -- cgit v1.2.3