From 8e630cac4ef5559c7ddfdbf4ad951c9dec5caf1d Mon Sep 17 00:00:00 2001 From: James Ennis Date: Tue, 5 Mar 2019 16:01:01 +0000 Subject: _artifactelement.py: Add _get_cache_key() override --- buildstream/_artifactelement.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildstream') 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() # -- cgit v1.2.1