drop actions for dpp

This commit is contained in:
Cayo Puigdefabregas 2024-11-28 17:01:44 +01:00
parent 99435fff85
commit e84b72c70b

View file

@ -117,6 +117,9 @@ class Build:
self.device = self.json.get("device")
self.components = self.json.get("components", [])
for c in self.components:
c.pop("actions", None)
device = self.get_id_hw_dpp(self.device)
components = sorted(self.components, key=lambda x: x.get("type"))
doc = [("computer", device)]