summaryrefslogtreecommitdiff
path: root/python/variable.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/variable.py')
-rw-r--r--python/variable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/variable.py b/python/variable.py
index 2a8ee026..e33f9af6 100644
--- a/python/variable.py
+++ b/python/variable.py
@@ -380,7 +380,7 @@ class PossibleValueSet:
return self.ranges == other.ranges
elif self.type in [RegisterValueType.InSetOfValues, RegisterValueType.NotInSetOfValues]:
return self.values == other.values
- elif self.type == RegisterValueType.UndeterminedValue and hasattr(other, 'type'):
+ elif self.type == RegisterValueType.UndeterminedValue and hasattr(other, '_type'):
return self.type == other.type
else:
return self == other