summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: