Skip to content

Commit 70839d1

Browse files
committed
Fix iterating through arch_list in core.get_repos_of_project()
1 parent d8bfd45 commit 70839d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osc/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3975,7 +3975,7 @@ def get_repos_of_project(apiurl: str, prj: str):
39753975

39763976
project_obj = obs_api.Project.from_api(apiurl, prj)
39773977
for repo in project_obj.repository_list or []:
3978-
for arch in repo.arch_list:
3978+
for arch in repo.arch_list or []:
39793979
yield Repo(repo.name, arch)
39803980

39813981

0 commit comments

Comments
 (0)