mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-08 22:06:16 +01:00
Fix iterating through arch_list in core.get_repos_of_project()
This commit is contained in:
parent
d8bfd4521e
commit
70839d1d40
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user