summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/mediumlevelil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mediumlevelil.py b/python/mediumlevelil.py
index 93c45dcc..103d8c5f 100644
--- a/python/mediumlevelil.py
+++ b/python/mediumlevelil.py
@@ -43,7 +43,7 @@ class SSAVariable(object):
return "<ssa %s version %d>" % (repr(self.var), self.version)
def __eq__(self, other):
- return (
+ return isinstance(other, SSAVariable) and (
(self.var, self.version) ==
(other.var, other.version)
)