def repository(path):
    try:
        repo = Repository(path)
    except __HOLE__:
        raise JagareError('repo %s not exists' % path)
    return repo
dataset/ETHPy150Open douban/ellen/ellen/repo.py/repository