mirror of
https://github.com/SickGear/SickGear.git
synced 2024-12-01 00:43:37 +00:00
Change implement the __ne__ none equality method into the ParseResult class.
This commit is contained in:
parent
ef01d1da68
commit
0311b2777d
1 changed files with 3 additions and 0 deletions
|
@ -597,6 +597,9 @@ class ParseResult(object):
|
|||
|
||||
self.version = version
|
||||
|
||||
def __ne__(self, other):
|
||||
return not self.__eq__(other)
|
||||
|
||||
def __eq__(self, other):
|
||||
if not other:
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue