diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-31 14:46:17 +0100 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2017-07-31 14:46:17 +0100 |
commit | 10d3d2635ac710a547765891d215886b1abab5ec (patch) | |
tree | 076a3dc14583f457ca26c4532bd0e942d07ce195 | |
parent | ff149ceaa9d8c90343ca9d47a1753e9a767847f1 (diff) | |
download | buildstream-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.py | 2 |
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 = [ |