summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r--src/buildstream/element.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index ee6b90ce7..6f484e6af 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -499,7 +499,8 @@ class Element(Plugin):
if visited is None:
# Visited is of the form (Visited for Scope.BUILD, Visited for Scope.RUN)
- visited = (BitMap(), BitMap())
+ # visited = (BitMap(), BitMap())
+ visited = set(), set()
else:
# We have already a visited set passed. we might be able to short-circuit
if scope in (Scope.BUILD, Scope.ALL) and self._unique_id in visited[0]: