Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/r/e/reductio-0.2.1/reductio/tasks.py   reductio(Download)
    'workers': config.FABRIC_HOSTS
}
env.key_filename = os.path.expanduser(config.KEY_FILENAME)
 
# redefine exists, based on the version in fabric.contrib.files, so that it
    local_parent = os.path.join(config.HOMEDIR, target)
    local_dir = os.path.join(config.HOMEDIR, target, env.host)
    key_file = config.KEY_FILENAME
    local('mkdir -p %s' % local_dir)
    local('scp -o StrictHostKeyChecking=no -i %s %s:%s/* %s/' % (key_file, host, remote_dir, local_dir))