summaryrefslogtreecommitdiff
path: root/buildstream/_project.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildstream/_project.py')
-rw-r--r--buildstream/_project.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/buildstream/_project.py b/buildstream/_project.py
index e94892751..2f8ae69fb 100644
--- a/buildstream/_project.py
+++ b/buildstream/_project.py
@@ -398,7 +398,13 @@ class Project():
"Project requested format version {}, but BuildStream {}.{} only supports up until format version {}"
.format(format_version, major, minor, BST_FORMAT_VERSION))
- # Check if project.conf contains name key field
+ # FIXME:
+ #
+ # Performing this check manually in the absense
+ # of proper support from _yaml.node_get(), this should
+ # be removed in favor of a proper accessor function
+ # from the _yaml module when #591 is fixed.
+ #
if self._project_conf.get('name') is None:
raise LoadError(LoadErrorReason.INVALID_DATA,
"{}: project.conf does not contain expected key '{}'".format(projectfile, 'name'))