summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/element.py')
-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