

def dl_worker(repo):
    global downloaded_repos
    try:
        logger.info(('Cloning %s' % repo['clone_url']))
        dlw_res = git.Git().clone(repo['clone_url'], repo['full_name'])
        downloaded_repos = (downloaded_repos + 1)
        logger.info(('Completed %s' % repo['name']))
        del dlw_res
    except Exception as e:
        logger.exception(('There was a problem cloning %s %s' % (repo['name'], e.message)))

dataset/ETHPy150Open wick2o/gitrecon/gitrecon.py dl_worker/original