environment/lib/python2.7/site-packages/IPython/parallel/apps/launcher.py
def _send_file(self, local, remote):
        """send a single file"""
        remote = "%s:%s" % (self.location, remote)
        for i in range(10):
            if not os.path.exists(local):
                self.log.debug("waiting for %s" % local)
                time.sleep(1)
            else:
                break
        self.log.info("sending %s to %s", local, remote)
        check_output(self.scp_cmd + [local, remote])
def _send_file(self, local, remote):
        remote = "%s:%s" % (self.location, remote)
        for i in range(10):
            if not os.path.exists(local):
                self.log.debug("waiting for %s" % local)
                time.sleep(1)
            else:
                break
        self.log.info("sending %s to %s", local, remote)
        check_output(self.scp_cmd + [local, remote])
def _send_file ( self , local , remote ) : remote = "%s:%s" % ( self . location , remote ) for i in range ( 10 ) : if not os . path . exists ( local ) : self . log . debug ( "waiting for %s" % local ) time . sleep ( 1 ) else : break self . log . info ( "sending %s to %s" , local , remote ) check_output ( self . scp_cmd + [ local , remote ] )
send a single file
send a single file