diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-31 15:05:32 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2018-08-31 15:05:32 +0900 |
commit | 775d3fca114aff1785d2593c7fc485d215217e75 (patch) | |
tree | e89fbb791ff7c893a7b38fe55d113298a3ddcff7 | |
parent | 95121148b94682ddec0f3f4de7f330fae0c75285 (diff) | |
download | buildstream-775d3fca114aff1785d2593c7fc485d215217e75.tar.gz |
_project.py: Adding FIXME comment to address #591 properly
-rw-r--r-- | buildstream/_project.py | 8 |
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')) |