summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-30 20:56:30 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-10-30 20:56:30 +0900
commit459cc8a2c16c1485cf891485caa61fec51e91b23 (patch)
tree0fb3ec25db3e6897294421bb5e7fb8314fef1ca8
parentf10815ee0a9eeb9c7d595b32608f2dd63ca9a7bf (diff)
downloadbuildstream-459cc8a2c16c1485cf891485caa61fec51e91b23.tar.gz
context.py: Fixed project override validation to allow new 'strict' keyword
-rw-r--r--buildstream/context.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/context.py b/buildstream/context.py
index fb2e074a2..2a503574b 100644
--- a/buildstream/context.py
+++ b/buildstream/context.py
@@ -213,7 +213,7 @@ class Context():
# Shallow validation of overrides, parts of buildstream which rely
# on the overrides are expected to validate elsewhere.
for project_name, overrides in _yaml.node_items(self._project_overrides):
- _yaml.node_validate(overrides, ['artifacts', 'options'])
+ _yaml.node_validate(overrides, ['artifacts', 'options', 'strict'])
profile_end(Topics.LOAD_CONTEXT, 'load')