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:26:52 +0900 |
commit | f861dc0b87467615918c1b2ffcf89c0345ca31bb (patch) | |
tree | 65c5da752591278904c4414dbb73380e669df5ab | |
parent | 127893fa105965c40a70f7a5dbaf9974ebd4004d (diff) | |
download | buildstream-f861dc0b87467615918c1b2ffcf89c0345ca31bb.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 6cd65bb64..d5504e201 100644 --- a/buildstream/_project.py +++ b/buildstream/_project.py @@ -395,7 +395,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')) |