def _process_single_repo(
        abd_repo,
        repo_name,
        repo_args,
        reporter,
        conduits,
        url_watcher_wrapper):

    watcher = url_watcher_wrapper.watcher
    abdi_processrepoargs.do(
        abd_repo, repo_name, repo_args, reporter, conduits, watcher)

    # save the urlwatcher cache
    url_watcher_wrapper.save()
def _process_single_repo(
        abd_repo,
        repo_name,
        repo_args,
        reporter,
        conduits,
        url_watcher,
        urlwatcher_cache_path):
    abdi_processrepoargs.do(
        abd_repo, repo_name, repo_args, reporter, conduits, url_watcher)

    # save the urlwatcher cache
    with open(urlwatcher_cache_path, 'w') as f:
        url_watcher.dump(f)