summaryrefslogtreecommitdiff
path: root/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/element.py')
-rw-r--r--buildstream/element.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 70f5a470f..e810e990b 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -2030,7 +2030,8 @@ class Element(Plugin):
def _fetch(self):
previous_sources = []
for source in self.sources():
- source._fetch(previous_sources)
+ if source._get_consistency() == Consistency.RESOLVED:
+ source._fetch(previous_sources)
previous_sources.append(source)
#############################################################