From dcf2b8b93cbfc94a86b64d03c0c154a6db671b44 Mon Sep 17 00:00:00 2001
From: Hunter Hammond <huntrar@gmail.com>
Date: Wed, 22 May 2019 18:04:26 -0700
Subject: [PATCH] Handle non-iterable (NoneType) comparison in LazyUUIDTaskSet

---
 tasklib/lazy.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
2.39.5