mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge pull request #1020 from JackDandy/feature/ChangeParseResultClass
Change implement the __ne__ none equality method into the ParseResult…
This commit is contained in:
commit
18018a829f
1 changed files with 3 additions and 0 deletions
|
@ -597,6 +597,9 @@ class ParseResult(object):
|
||||||
|
|
||||||
self.version = version
|
self.version = version
|
||||||
|
|
||||||
|
def __ne__(self, other):
|
||||||
|
return not self.__eq__(other)
|
||||||
|
|
||||||
def __eq__(self, other):
|
def __eq__(self, other):
|
||||||
if not other:
|
if not other:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in a new issue