From ea6d990e560ff0a2866a0da5caa8ae13ecee5089 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 28 Nov 2024 15:47:03 +0100 Subject: [PATCH] fix phid hash list --- evidence/parse.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/evidence/parse.py b/evidence/parse.py index 60b2697..618219e 100644 --- a/evidence/parse.py +++ b/evidence/parse.py @@ -118,8 +118,7 @@ class Build: self.components = self.json.get("components", []) device = self.get_id_hw_dpp(self.device) - components = self.json.get(self.components) - components = sorted(components, key=lambda x: x.get("type")) + components = sorted(self.components, key=lambda x: x.get("type")) doc = [("computer", device)] for c in components: