summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Maat <tristan.maat@codethink.co.uk>2019-10-17 16:29:13 +0100
committerTristan Maat <tristan.maat@codethink.co.uk>2019-10-17 16:29:13 +0100
commit069b565cab4afffc0d3cfbcaf69db80904356566 (patch)
tree9f402828d435c69cd1aa7ae1280b3257507f3528
parent2f1c23413f002d73904a0df8d4218ead5508c006 (diff)
downloadbuildstream-069b565cab4afffc0d3cfbcaf69db80904356566.tar.gz
element.py: Stop setting scheduled elements "required"
If they're being scheduled they're already required, so this is superfluous.
-rw-r--r--src/buildstream/element.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 558bda4cb..9818f737e 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1581,8 +1581,6 @@ class Element(Plugin):
for dep in self.dependencies(Scope.BUILD, recurse=False):
dep._set_required()
- self._set_required()
-
# Invalidate workspace key as the build modifies the workspace directory
workspace = self._get_workspace()
if workspace: