From 70839d1d40e9e5a2630e224e8641bab02b26aeca Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 15 Aug 2024 08:37:58 +0200 Subject: [PATCH] Fix iterating through arch_list in core.get_repos_of_project() --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index b4304ba1..7145325d 100644 --- a/osc/core.py +++ b/osc/core.py @@ -3975,7 +3975,7 @@ def get_repos_of_project(apiurl: str, prj: str): project_obj = obs_api.Project.from_api(apiurl, prj) for repo in project_obj.repository_list or []: - for arch in repo.arch_list: + for arch in repo.arch_list or []: yield Repo(repo.name, arch)