소스 검색

ssh_cmd: fix wrong caller, fixes #255

Thomas Waldmann 9 년 전
부모
커밋
a4967ec582
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      borg/remote.py

+ 1 - 1
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()