From 0311b2777dc7d52c5d549c98e59725ff521e242a Mon Sep 17 00:00:00 2001 From: Prinz23 Date: Mon, 4 Dec 2017 15:14:37 +0100 Subject: [PATCH] Change implement the __ne__ none equality method into the ParseResult class. --- sickbeard/name_parser/parser.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sickbeard/name_parser/parser.py b/sickbeard/name_parser/parser.py index f2357c6b..62e5b552 100644 --- a/sickbeard/name_parser/parser.py +++ b/sickbeard/name_parser/parser.py @@ -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