From a4967ec5829ee599482d89a9b9cfc227cf16997f Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Wed, 7 Oct 2015 03:32:55 +0200 Subject: [PATCH] ssh_cmd: fix wrong caller, fixes #255 --- borg/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/remote.py b/borg/remote.py index 8001abe2..b9847c7e 100644 --- a/borg/remote.py +++ b/borg/remote.py @@ -134,7 +134,7 @@ class RemoteRepository: if location.host == '__testsuite__': args = [sys.executable, '-m', 'borg.archiver', 'serve' ] + self.extra_test_args else: # pragma: no cover - args = self.ssh_cmd() + args = self.ssh_cmd(location) self.p = Popen(args, bufsize=0, stdin=PIPE, stdout=PIPE) self.stdin_fd = self.p.stdin.fileno() self.stdout_fd = self.p.stdout.fileno()