mirror of
https://github.com/vale981/releases
synced 2025-03-04 17:21:43 -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):
|
||||
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 True
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue