summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/_emerge/Task.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pym/_emerge/Task.py b/pym/_emerge/Task.py
index 3e1a4ba62..efbe3a99d 100644
--- a/pym/_emerge/Task.py
+++ b/pym/_emerge/Task.py
@@ -9,7 +9,9 @@ class Task(SlotObject):
try:
return self._hash_key == other._hash_key
except AttributeError:
- return False
+ # depgraph._pkg() generates _hash_key
+ # for lookups here, so handle that
+ return self._hash_key == other
def __ne__(self, other):
try: