summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2020-05-20 13:25:21 -0400
committerPeter LaFosse <peter@vector35.com>2020-05-20 13:25:21 -0400
commitb0133b8464e83172690747e39a4635dda059b604 (patch)
tree5ac6a58c00503cd2d8a612ad5504d4c75b4f7189 /python
parent9e20ebaac658add3878ed7d070a1ef6d4a5927a7 (diff)
Fix hash method for ReferenceSource class
Diffstat (limited to 'python')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
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):