##// END OF EJS Templates
fix typo in ssh launcher send_file...
MinRK -
Show More
@@ -593,7 +593,7 b' class SSHLauncher(LocalProcessLauncher):'
593
593
594 def _send_file(self, local, remote):
594 def _send_file(self, local, remote):
595 """send a single file"""
595 """send a single file"""
596 remote = "%s:%s" % (self.location, remote)
596 full_remote = "%s:%s" % (self.location, remote)
597 for i in range(10):
597 for i in range(10):
598 if not os.path.exists(local):
598 if not os.path.exists(local):
599 self.log.debug("waiting for %s" % local)
599 self.log.debug("waiting for %s" % local)
@@ -605,8 +605,8 b' class SSHLauncher(LocalProcessLauncher):'
605 check_output(self.ssh_cmd + self.ssh_args + \
605 check_output(self.ssh_cmd + self.ssh_args + \
606 [self.location, 'mkdir', '-p', '--', remote_dir]
606 [self.location, 'mkdir', '-p', '--', remote_dir]
607 )
607 )
608 self.log.info("sending %s to %s", local, remote)
608 self.log.info("sending %s to %s", local, full_remote)
609 check_output(self.scp_cmd + [local, remote])
609 check_output(self.scp_cmd + [local, full_remote])
610
610
611 def send_files(self):
611 def send_files(self):
612 """send our files (called before start)"""
612 """send our files (called before start)"""
General Comments 0
You need to be logged in to leave comments. Login now