From b0133b8464e83172690747e39a4635dda059b604 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Wed, 20 May 2020 13:25:21 -0400 Subject: Fix hash method for ReferenceSource class --- python/architecture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/architecture.py') diff --git a/python/architecture.py b/python/architecture.py index 3f811412..096a33b0 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -2776,7 +2776,7 @@ class ReferenceSource(object): return self.address <= other.address def __hash__(self): - hash((self._function, self._arch, self._address)) + return hash((self._function, self._arch, self._address)) @property def function(self): -- cgit v1.3.1