summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-31 14:46:17 +0100
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-07-31 14:46:17 +0100
commit10d3d2635ac710a547765891d215886b1abab5ec (patch)
tree076a3dc14583f457ca26c4532bd0e942d07ce195
parentff149ceaa9d8c90343ca9d47a1753e9a767847f1 (diff)
downloadbuildstream-10d3d2635ac710a547765891d215886b1abab5ec.tar.gz
element.py: Fix broken exception for non-strict rebuilds of certain elements (strict_rebuild)
This was doing a non-recursive calculation of weak cache keys, but the intention was to do a recursive one; this is why my demo was an epic failure.
-rw-r--r--buildstream/element.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index d0bbb79c8..84cd9a577 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -902,7 +902,7 @@ class Element(Plugin):
if self.strict_rebuild:
dependencies = [
e._get_cache_key(strength=_KeyStrength.WEAK)
- for e in self.dependencies(Scope.BUILD, recurse=False)
+ for e in self.dependencies(Scope.BUILD)
]
else:
dependencies = [