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