This is an automated email from the ASF dual-hosted git repository.

root pushed a commit to branch tlater/test_workspace_visible
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 069b565cab4afffc0d3cfbcaf69db80904356566
Author: Tristan Maat <[email protected]>
AuthorDate: Thu Oct 17 16:29:13 2019 +0100

    element.py: Stop setting scheduled elements "required"
    
    If they're being scheduled they're already required, so this is
    superfluous.
---
 src/buildstream/element.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 558bda4..9818f73 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:

Reply via email to