mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-23 15:58:55 +00:00
ssh_cmd: fix wrong caller, fixes #255
This commit is contained in:
parent
190eed6bb9
commit
a4967ec582
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ def __init__(self, location, create=False):
|
||||||
if location.host == '__testsuite__':
|
if location.host == '__testsuite__':
|
||||||
args = [sys.executable, '-m', 'borg.archiver', 'serve' ] + self.extra_test_args
|
args = [sys.executable, '-m', 'borg.archiver', 'serve' ] + self.extra_test_args
|
||||||
else: # pragma: no cover
|
else: # pragma: no cover
|
||||||
args = self.ssh_cmd()
|
args = self.ssh_cmd(location)
|
||||||
self.p = Popen(args, bufsize=0, stdin=PIPE, stdout=PIPE)
|
self.p = Popen(args, bufsize=0, stdin=PIPE, stdout=PIPE)
|
||||||
self.stdin_fd = self.p.stdin.fileno()
|
self.stdin_fd = self.p.stdin.fileno()
|
||||||
self.stdout_fd = self.p.stdout.fileno()
|
self.stdout_fd = self.p.stdout.fileno()
|
||||||
|
|
Loading…
Reference in a new issue