Skip to content

Commit e958ce4

Browse files
authored
Merge pull request openSUSE#1608 from dmach/fix-arch_list-in-get_repos_of_project
Fix iterating through arch_list in core.get_repos_of_project()
2 parents 945c5e2 + 70839d1 commit e958ce4

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)