From ac995236ada0dcd5d2b954513fdfe3ec62de88cc Mon Sep 17 00:00:00 2001 From: Tom Pollard Date: Thu, 20 Dec 2018 17:10:05 +0000 Subject: _stream.py: fix _buildtree_pull_required logic --- buildstream/_stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildstream/_stream.py b/buildstream/_stream.py index 85ead3330..62eff1d8b 100644 --- a/buildstream/_stream.py +++ b/buildstream/_stream.py @@ -1263,7 +1263,7 @@ class Stream(): required_list = [] # If context is set to not pull buildtrees, or no fetch remotes, return empty list - if not (self._context.pull_buildtrees or self._artifacts.has_fetch_remotes()): + if not self._context.pull_buildtrees or not self._artifacts.has_fetch_remotes(): return required_list for element in elements: -- cgit v1.2.1