summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--buildstream/_artifactelement.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildstream/_artifactelement.py b/buildstream/_artifactelement.py
index a88e83aab..a7915eb28 100644
--- a/buildstream/_artifactelement.py
+++ b/buildstream/_artifactelement.py
@@ -59,6 +59,10 @@ class ArtifactElement(Element):
def _calculate_cache_key(self, dependencies=None):
return self._key
+ # Override Element._get_cache_key()
+ def _get_cache_key(self, strength=None):
+ return self._key
+
# verify_artifact_ref()
#