summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2019-09-02 11:58:12 +0200
committerJürg Billeter <j@bitron.ch>2019-09-03 11:17:28 +0200
commit5545cb436a70a4b5e2e1f594fa57502a47439a57 (patch)
tree573b9ca38aecd29fc2b4d7021ed9783192737867
parent7dd41ee3c635891aedfd25a11a9e030222c244c3 (diff)
downloadbuildstream-5545cb436a70a4b5e2e1f594fa57502a47439a57.tar.gz
scheduler.py: Use Context.is_fork_allowed()
-rw-r--r--src/buildstream/_scheduler/scheduler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_scheduler/scheduler.py b/src/buildstream/_scheduler/scheduler.py
index b29bc8841..37295b285 100644
--- a/src/buildstream/_scheduler/scheduler.py
+++ b/src/buildstream/_scheduler/scheduler.py
@@ -110,7 +110,7 @@ class Scheduler():
#
def run(self, queues):
- assert self.context.fork_allowed
+ assert self.context.is_fork_allowed()
# Hold on to the queues to process
self.queues = queues