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 9b8b5a902..c41ff5c3f 100644
--- a/src/buildstream/_variables.pyx
+++ b/src/buildstream/_variables.pyx
@@ -128,7 +128,7 @@ cdef class Variables:
cdef str value
for key in _yaml.node_keys(node):
- value = <str> _yaml.node_get(node, str, key)
+ value = node.get_str(key)
ret[sys.intern(key)] = _parse_expstr(value)
return ret