diff options
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oe/sbom30.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/sbom30.py b/meta/lib/oe/sbom30.py index f7c4b323d5..0595ebd41c 100644 --- a/meta/lib/oe/sbom30.py +++ b/meta/lib/oe/sbom30.py | |||
| @@ -195,7 +195,7 @@ class ObjectSet(oe.spdx30.SHACLObjectSet): | |||
| 195 | if not isinstance(v, oe.spdx30.Hash): | 195 | if not isinstance(v, oe.spdx30.Hash): |
| 196 | continue | 196 | continue |
| 197 | 197 | ||
| 198 | if v.algorithm == oe.spdx30.HashAlgorithm.sha256: | 198 | if v.algorithm != oe.spdx30.HashAlgorithm.sha256: |
| 199 | continue | 199 | continue |
| 200 | 200 | ||
| 201 | self.by_sha256_hash.setdefault(v.hashValue, set()).add(obj) | 201 | self.by_sha256_hash.setdefault(v.hashValue, set()).add(obj) |
