mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-25 08:02:21 +00:00
alpm: make sure we get the repo config
This commit is contained in:
parent
606b3f65fb
commit
9a42ed9503
@ -9,13 +9,13 @@ async def open_db(info):
|
||||
dbpath, repo = info
|
||||
handle = Handle('/', dbpath)
|
||||
db = handle.register_syncdb(repo, 0)
|
||||
return (handle, db)
|
||||
return handle, db
|
||||
|
||||
|
||||
async def get_version(name, conf, *, cache, **kwargs):
|
||||
pkgname = conf.get('alpm', name)
|
||||
dbpath = conf.get('dbpath', '/var/lib/pacman')
|
||||
repo = conf.get('repo')
|
||||
repo = conf['repo']
|
||||
strip_release = conf.get('strip_release', False)
|
||||
provided = conf.get('provided')
|
||||
db = (await cache.get((dbpath, repo), open_db))[1]
|
||||
|
Loading…
Reference in New Issue
Block a user