ALBS-1030: Generate Devel section in packages.json #14

Merged
soksanichenko merged 5 commits from ALBS-1030 into al_master 2023-03-22 10:06:59 +00:00
Showing only changes of commit ed43f0038e - Show all commits

View File

@ -193,8 +193,8 @@ def get_koji_modules(compose, koji_wrapper, event, module_info_str):
) )
latest_version = sorted_modules[0]["module_version"] latest_version = sorted_modules[0]["module_version"]
modules = [ modules = [
module for module in modules if module for module in modules
soksanichenko marked this conversation as resolved Outdated

Just a personal taste for readability, I'd move if into the next line

Just a personal taste for readability, I'd move `if` into the next line
latest_version == module["module_version"] if latest_version == module["module_version"]
] ]
return modules return modules