summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Pollard <tom.pollard@codethink.co.uk>2018-12-20 17:10:05 +0000
committerTom Pollard <tom.pollard@codethink.co.uk>2018-12-20 17:18:02 +0000
commitac995236ada0dcd5d2b954513fdfe3ec62de88cc (patch)
treed2c1a51c051127e5fb09b6b38ddbacb43fa13a2c
parentcd4889af3efc4a1f6bb5572b9987ac0805fc60d1 (diff)
downloadbuildstream-tpollard/fixbuildtreereq.tar.gz
_stream.py: fix _buildtree_pull_required logictpollard/fixbuildtreereq
-rw-r--r--buildstream/_stream.py2
1 files changed, 1 insertions, 1 deletions
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: