Skip to content

Commit e8717d7

Browse files
authored
Merge pull request #1130 from AlmaLinux/fix_repository_in_release_creation
Fix adding repositories to release plan
2 parents da2e9b4 + b686299 commit e8717d7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

alws/release_planner.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -769,8 +769,9 @@ async def get_release_plan(
769769
arch = pkg["arch"]
770770
if arch == "noarch":
771771
repositories = [
772-
db_repos_mapping[(a, is_debug)]
772+
db_repos_mapping.get((a, is_debug))
773773
for a in base_platform.arch_list
774+
if (a, is_debug) in db_repos_mapping
774775
]
775776
else:
776777
repositories = [db_repos_mapping[(arch, is_debug)]]

0 commit comments

Comments
 (0)