summaryrefslogtreecommitdiff
path: root/src/buildstream/source.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r--src/buildstream/source.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index 76c56fd1d..f8b5d3f88 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -312,8 +312,6 @@ class Source(Plugin):
super().__init__("{}-{}".format(meta.element_name, meta.element_index),
context, project, provenance, "source", unique_id=unique_id)
- self.__source_cache = context.sourcecache
-
self.__element_name = meta.element_name # The name of the element owning this source
self.__element_index = meta.element_index # The index of the source in the owning element's source list
self.__element_kind = meta.element_kind # The kind of the element owning this source
@@ -726,10 +724,6 @@ class Source(Plugin):
else:
self.__do_fetch()
- def _cache(self, previous_sources):
- # stage the source into the source cache
- self.__source_cache.commit(self, previous_sources)
-
# Wrapper for stage() api which gives the source
# plugin a fully constructed path considering the
# 'directory' option