From e9fee34fa28fd772fd4d4437dc4ee6b5eed6bbf8 Mon Sep 17 00:00:00 2001 From: Ayoub Kaanich Date: Thu, 27 Jul 2023 14:14:48 +0200 Subject: [PATCH] Fix crash caused by sdg not being hashashable --- odxtools/dataobjectproperty.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/odxtools/dataobjectproperty.py b/odxtools/dataobjectproperty.py index 9ca21930..4181427d 100644 --- a/odxtools/dataobjectproperty.py +++ b/odxtools/dataobjectproperty.py @@ -42,8 +42,6 @@ def __hash__(self) -> int: result += hash(self.long_name) result += hash(self.description) result += hash(self.is_visible_raw) - for sdg in self.sdgs: - result += hash(sdg) return result