From 7b2a464821ba1c53879965e288e05a64ef5eb305 Mon Sep 17 00:00:00 2001 From: Moody Liu Date: Sun, 21 Aug 2022 14:51:06 +0100 Subject: [PATCH] alpm: support searching in multiple repos --- nvchecker_source/alpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvchecker_source/alpm.py b/nvchecker_source/alpm.py index 6069fad..c31d243 100644 --- a/nvchecker_source/alpm.py +++ b/nvchecker_source/alpm.py @@ -20,7 +20,7 @@ async def get_version(name, conf, *, cache, **kwargs): repo = conf.get('repo') if repo is None: - repos = ['core', 'extra', 'community', 'multilib'] + repos = conf.get('repos') or ['core', 'extra', 'community', 'multilib'] else: repos = [repo]