X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/7d0294524dc4edf78a43d3e0c439dc317ebdc055..3fd1c0c61741e5dd6c4f96de1aa58f05ddd5fadd:/tasklib/lazy.py diff --git a/tasklib/lazy.py b/tasklib/lazy.py index a1b63ef..f9e0c0a 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__()