From 31f4aee5481bc52138479cbc866550bc2b03b70e Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Wed, 16 Jan 2019 12:30:44 -0500 Subject: [PATCH] record_filtered_rpms: Don't discard buildrequires if filtered_rpms already is found Due to a logic error, if record_filtered_rpms() was called on a module which already had filtered_rpms set, the buildrequires xmd information was discarded. This broke all local builds. --- module_build_service/utils/submit.py | 1 + 1 file changed, 1 insertion(+) diff --git a/module_build_service/utils/submit.py b/module_build_service/utils/submit.py index 39ace2c0..90a2ac24 100644 --- a/module_build_service/utils/submit.py +++ b/module_build_service/utils/submit.py @@ -68,6 +68,7 @@ def record_filtered_rpms(mmd): # In case this is module resubmit or local build, the filtered_rpms # will already be there, so there is no point in generating them again. if "filtered_rpms" in req_data: + new_buildrequires[req_name] = req_data continue # We can just get the first modulemd data from result right here thanks to