summaryrefslogtreecommitdiff
path: root/src/buildstream/source.py
diff options
context:
space:
mode:
authorTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-08-10 13:17:59 +0900
committerTristan van Berkom <tristan.vanberkom@codethink.co.uk>2020-08-10 13:17:59 +0900
commit1b65a23b852345b63a61bb4d0e5fc8a86bcec31a (patch)
treef024ee9267014ac6cf279dbb8352b22139c3b5ad /src/buildstream/source.py
parent16a5a20e4e832fc4c8bc225b92251efbada5e454 (diff)
downloadbuildstream-1b65a23b852345b63a61bb4d0e5fc8a86bcec31a.tar.gz
element/source: Remove pointless extra variabletristan/cleanup-pickle
These __meta_kind members are documented as relevant for pickling, which was removed a short while ago.
Diffstat (limited to 'src/buildstream/source.py')
-rw-r--r--src/buildstream/source.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildstream/source.py b/src/buildstream/source.py
index 4c284a57c..dc87c35de 100644
--- a/src/buildstream/source.py
+++ b/src/buildstream/source.py
@@ -342,7 +342,6 @@ class Source(Plugin):
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
self.__directory = meta.directory # Staging relative directory
- self.__meta_kind = meta.kind # The kind of this source, required for unpickling
self.__variables = variables # The variables used to resolve the source's config
self.__key = None # Cache key for source