X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/922cec4a15255e90f69356886de250de034372d1..de0d843d5b31a9b2c8e78819020a59d252e18e39:/tasklib/lazy.py diff --git a/tasklib/lazy.py b/tasklib/lazy.py index cb268f3..e5b3492 100644 --- a/tasklib/lazy.py +++ b/tasklib/lazy.py @@ -106,7 +106,7 @@ class LazyUUIDTaskSet(object): return 'LazyUUIDTaskSet([{0}])'.format(', '.join(self._uuids)) def __eq__(self, other): - return set(t['uuid'] for t in other) == self._uuids + return (set(t['uuid'] for t in other) if other else set()) == self._uuids def __ne__(self, other): return not (self == other)