hdl.ast: fix non-existing variable in SignalKey.__lt__
This commit is contained in:
parent
3a51b61284
commit
9857039a6b
|
@ -1798,7 +1798,7 @@ class SignalKey:
|
||||||
|
|
||||||
def __lt__(self, other):
|
def __lt__(self, other):
|
||||||
if type(other) is not SignalKey:
|
if type(other) is not SignalKey:
|
||||||
raise TypeError("Object {!r} cannot be compared to a SignalKey".format(signal))
|
raise TypeError("Object {!r} cannot be compared to a SignalKey".format(other))
|
||||||
return self._intern < other._intern
|
return self._intern < other._intern
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|
Loading…
Reference in a new issue