From 8bc3b7a217de41c0a9bc52cd9cac50cde9e9ee65 Mon Sep 17 00:00:00 2001 From: Anish Bhatt Date: Mon, 10 Jul 2023 10:09:17 -0700 Subject: [PATCH] When parsing over a KVP list, do not return till the whole list is parsed --- dnf/repodict.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnf/repodict.py b/dnf/repodict.py index ffa0f8ed..82c05ac0 100644 --- a/dnf/repodict.py +++ b/dnf/repodict.py @@ -79,8 +79,8 @@ class RepoDict(dict): if isinstance(value, str): substituted.append( libdnf.conf.ConfigParser.substitute(value, conf.substitutions)) - if substituted: - return substituted + if substituted: + return substituted return values repo = dnf.repo.Repo(repoid, conf) -- 2.41.0 From 89c6f3633f55acd31d44a487ce76dd89c12d795c Mon Sep 17 00:00:00 2001 From: Anish Bhatt Date: Mon, 10 Jul 2023 10:10:30 -0700 Subject: [PATCH] Add to authors --- AUTHORS | 1 + 1 file changed, 1 insertion(+) diff --git a/AUTHORS b/AUTHORS index 0077c7ea..eb1e0121 100644 --- a/AUTHORS +++ b/AUTHORS @@ -63,6 +63,7 @@ DNF CONTRIBUTORS Adam Williamson Albert Uchytil Alberto Ruiz + Anish Bhatt Baurzhan Muftakhidinov Christopher Meng Daniel Mach -- 2.41.0