summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2019-05-13 14:25:00 +0100
committerbst-marge-bot <marge-bot@buildstream.build>2019-05-15 10:18:26 +0000
commit425fbf2ee786dcd7ea6b9f17ee96400fb36b3f7e (patch)
tree99ae6a23f168e3cbe84eac93e549d75e58b852ad
parent14dc7e498f769c71b119036a5fa9dd0b2af4c089 (diff)
downloadbuildstream-425fbf2ee786dcd7ea6b9f17ee96400fb36b3f7e.tar.gz
element.py: Remove __get_cache_keys_for_commit()
This private method is no longer used and as such can be removed.
-rw-r--r--buildstream/element.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 382106e8a..562a67777 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -2854,17 +2854,6 @@ class Element(Plugin):
self.__build_result = self.__artifact.load_build_result()
- def __get_cache_keys_for_commit(self):
- keys = []
-
- # tag with strong cache key based on dependency versions used for the build
- keys.append(self._get_cache_key(strength=_KeyStrength.STRONG))
-
- # also store under weak cache key
- keys.append(self._get_cache_key(strength=_KeyStrength.WEAK))
-
- return utils._deduplicate(keys)
-
# __pull_strong():
#
# Attempt pulling given element from configured artifact caches with