diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-03-05 16:01:01 +0000 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2019-03-13 17:04:04 +0000 |
commit | 8e630cac4ef5559c7ddfdbf4ad951c9dec5caf1d (patch) | |
tree | 202a7163b98ecf1fbdd475d048e38f9d7cd8f4d5 /buildstream | |
parent | e0771937283156d2720f62102772072b5e72abec (diff) | |
download | buildstream-8e630cac4ef5559c7ddfdbf4ad951c9dec5caf1d.tar.gz |
_artifactelement.py: Add _get_cache_key() override
Diffstat (limited to 'buildstream')
-rw-r--r-- | buildstream/_artifactelement.py | 4 |
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() # |