osbuild-mpp: Add comment detailing the stage formating

This commit is contained in:
Alexander Larsson 2022-08-05 10:10:17 +02:00 committed by Christian Kellner
parent 24e48d2f71
commit 7c0f0c1052

View file

@ -1107,6 +1107,9 @@ class ManifestFile:
parent_node = None
parent_key = None
# Avoid unnecessarily running the stage processing on things
# that don't look like a stage. The indidual stage processing
# will verify that the stage looks right too.
if parent_key == "stages":
pipeline_name = self.get_pipeline_name(parent_node)
self._process_stage(node, pipeline_name)