kopia lustrzana https://github.com/Langenfeld/py-gitea
fixed eq-issue
rodzic
2991c5a54c
commit
a90a710318
|
@ -537,7 +537,7 @@ class Issue:
|
|||
|
||||
def __eq__(self, other):
|
||||
if other is not None:
|
||||
if isinstance(other, Milestone):
|
||||
if isinstance(other, Issue):
|
||||
return other.id == self.id
|
||||
return False
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue