

def repository(path):
    try:
        repo = Repository(path)
    except KeyError:
        raise JagareError(('repo %s not exists' % repo))
    return repo

dataset/ETHPy150Open douban/ellen/ellen/repo.py repository/VarMisuse@33/49 `path`->`repo`