def get_repo(repo_key):
    path = safe_join(current_app.config['RESTFULGIT_REPO_BASE_PATH'], repo_key)
    try:
        return Repository(path)
    except __HOLE__:
        raise NotFound("repository not found")
dataset/ETHPy150Open hulu/restfulgit/restfulgit/plumbing/retrieval.py/get_repo