mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-13 14:29:42 +08:00
Merge #1766 batches.py: Fix handling of "changed-and-after"
This commit is contained in:
@@ -233,7 +233,9 @@ def start_next_batch_build(config, module, builder, components=None):
|
||||
# This is used to determine if it's worth checking if a component can be
|
||||
# reused later on in the code
|
||||
all_reused_in_prev_batch = all(
|
||||
c.reused_component_id is not None for c in module.component_builds)
|
||||
c.reused_component_id is not None for c in module.component_builds
|
||||
if c.batch == module.batch
|
||||
)
|
||||
|
||||
# Although this variable isn't necessary, it is easier to read code later on with it
|
||||
prev_batch = module.batch
|
||||
|
||||
Reference in New Issue
Block a user