mirror of
https://github.com/vale981/releases
synced 2025-03-05 09:41:42 -05:00
Default our attribute access to None
This commit is contained in:
parent
7e112ff607
commit
a30c753c39
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ class Issue(nodes.Element):
|
||||||
|
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
for attr in self._cmp_keys:
|
for attr in self._cmp_keys:
|
||||||
if getattr(self, attr) != getattr(other, attr):
|
if getattr(self, attr, None) != getattr(other, attr, None):
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue