Skip to content

Commit

Permalink
Fix iterating through arch_list in core.get_repos_of_project()
Browse files Browse the repository at this point in the history
  • Loading branch information
dmach committed Aug 15, 2024
1 parent d8bfd45 commit 70839d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 70839d1

Please sign in to comment.