summaryrefslogtreecommitdiff
path: root/src/buildstream/_variables.pyx
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_variables.pyx')
-rw-r--r--src/buildstream/_variables.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_variables.pyx b/src/buildstream/_variables.pyx
index f1d3c2ab0..ba8338f23 100644
--- a/src/buildstream/_variables.pyx
+++ b/src/buildstream/_variables.pyx
@@ -121,7 +121,7 @@ cdef class Variables:
# Initialize it as a string as all variables are processed as strings.
#
if node.get_bool('notparallel', False):
- _yaml.node_set(node, 'max-jobs', str(1))
+ node['max-jobs'] = str(1)
cdef dict ret = {}
cdef str key