summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarius Makovsky <traveltissues@protonmail.com>2019-12-06 11:54:44 +0000
committerbst-marge-bot <marge-bot@buildstream.build>2019-12-09 08:08:31 +0000
commit750aa60ab3809167ff14c479068a328dc477de3e (patch)
tree89ea226987e7d804f348d0ba7be1df557ffb0c90
parent5a67974b0dd843349dc58f6323a6bcc1238e81de (diff)
downloadbuildstream-750aa60ab3809167ff14c479068a328dc477de3e.tar.gz
element: remove _is_required()/__required
-rw-r--r--src/buildstream/element.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 61a37ac5a..106460b9a 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -268,7 +268,6 @@ class Element(Plugin):
# Location where Element.stage_sources() was called
self.__staged_sources_directory = None # type: Optional[str]
self.__tainted = None # Whether the artifact is tainted and should not be shared
- self.__required = False # Whether the artifact is required in the current session
self.__artifact_files_required = False # Whether artifact files are required in the local cache
self.__build_result = None # The result of assembling this Element (success, description, detail)
self._build_log_path = None # The path of the build log for this Element
@@ -1483,13 +1482,6 @@ class Element(Plugin):
# Ensure deterministic owners of sources at build time
vdirectory.set_deterministic_user()
- # _is_required():
- #
- # Returns whether this element has been marked as required.
- #
- def _is_required(self):
- return self.__required
-
# _set_artifact_files_required():
#
# Mark artifact files for this element and its runtime dependencies as