summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-09-22 13:13:41 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-08 17:03:36 +0900
commit851722a53cbc5847438bee503a6a79afbe8902b6 (patch)
treedf91bf89066848f478fca26839ae47248955abe2
parentdfa5186e77a74c928ce4ab679c532e442ac33d43 (diff)
downloadbuildstream-851722a53cbc5847438bee503a6a79afbe8902b6.tar.gz
element.py: Removed public variant member, obsolete
This was used to show which variants had been selected when printing out the pipeline.
-rw-r--r--buildstream/element.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index 25b74d171..e3e9a4b34 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -120,14 +120,6 @@ class Element(Plugin):
and creating directory names and such.
"""
- self.variant = meta.variant
- """The effective variant for this element
-
- If the element declares variants, then this will reflect the
- variant which was chosen and resolved at load time, otherwise
- this will be ``None``.
- """
-
self.__runtime_dependencies = [] # Direct runtime dependency Elements
self.__build_dependencies = [] # Direct build dependency Elements
self.__sources = [] # List of Sources