diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-10-18 15:15:45 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-10-18 16:17:35 +0200 |
commit | 0a735fa69bf5e3d75092cdfad6a12636c2a63ab2 (patch) | |
tree | 70a39715318b72c9c6a025dd3a9e31caf3d80458 /lbup | |
parent | 89a67fdb3fb28c88aaa0abdedbff080c06f78c4e (diff) |
targets: import SSHRemote directly
Diffstat (limited to 'lbup')
-rw-r--r-- | lbup/targets.py | 4 |
1 files 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 |