Skip to content
Snippets Groups Projects
Commit 10d3d263 authored by Tristan Van Berkom's avatar Tristan Van Berkom
Browse files

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.
parent ff149cea
No related branches found
No related tags found
Loading
Pipeline #
......@@ -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 = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment