diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-07-05 16:18:06 +0100 |
---|---|---|
committer | Angelos Evripiotis <angelos.evripiotis@gmail.com> | 2019-07-09 20:48:09 +0000 |
commit | a2c63af692941459be1e65776f30c42e06287230 (patch) | |
tree | 7444af6427fa2bf0d6f71941ae35f8cc9a173127 /src/buildstream/source.py | |
parent | f20cf0decbe1089895a101efb504394b3e098528 (diff) | |
download | buildstream-a2c63af692941459be1e65776f30c42e06287230.tar.gz |
source: rm unused _cache(), __source_cache
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r-- | src/buildstream/source.py | 6 |
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 |