def get_files(remote_path, local_path):
    path_with_host_name = os.path.join(local_path, env.host)

    if not os.path.exists(path_with_host_name):
        os.makedirs(path_with_host_name)

    _LOGGER.debug('local path used ' + path_with_host_name)

    try:
        get(remote_path, path_with_host_name, True)
    except __HOLE__:
        warn('remote path ' + remote_path + ' not found on ' + env.host)
dataset/ETHPy150Open prestodb/presto-admin/prestoadmin/collect.py/get_files