From e02d16b58e26924a657dc140a7d6f06fab6c1dca Mon Sep 17 00:00:00 2001 From: Rob Golding Date: Thu, 22 Feb 2018 09:18:10 +0000 Subject: [PATCH] Revert "Removes redundant definition" --- tasklib/lazy.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tasklib/lazy.py b/tasklib/lazy.py index 7d8e0de..cb268f3 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -36,6 +36,9 @@ class LazyUUIDTask(object): # For saved Tasks, just define equality by equality of uuids return self['uuid'] == other['uuid'] + def __ne__(self, other): + return not self.__eq__(other) + def __hash__(self): return self['uuid'].__hash__() -- 2.39.2