Merge "fetch_debs.py doesn't select packages correctly"

This commit is contained in:
Zuul 2025-02-13 18:34:48 +00:00 committed by Gerrit Code Review
commit 4ff5c5ef6b

View File

@ -107,7 +107,9 @@ class FetchDebs(object):
debs_to_remove.append(deb)
for deb in debs_to_remove:
dl_debs_dict.pop(deb)
# If package is explicitly in the patch recipe it should NOT be removed
if deb not in self.need_dl_stx_pkgs:
dl_debs_dict.pop(deb)
logger.debug(f'Package list after filtering:{dl_debs_dict}')