X-Git-Url: https://git.madduck.net/etc/taskwarrior.git/blobdiff_plain/79e9a98f7ca33cf4e282dfcfdf132b6f0b0995a9..9a7dac4599f198c52f268ae8bcc0267743ef934f:/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)