diff options
author | Benjamin Schubert <ben.c.schubert@gmail.com> | 2019-07-05 17:59:15 +0100 |
---|---|---|
committer | bst-marge-bot <marge-bot@buildstream.build> | 2019-07-15 14:14:03 +0000 |
commit | 695eddc069c9803eca5d004e80ca7be7defdd20c (patch) | |
tree | 39869eda62d451bb188925f2947872a006e2128d /src/buildstream/_frontend | |
parent | 2b1c63b50b11293377e87df802f35489e5f86c12 (diff) | |
download | buildstream-695eddc069c9803eca5d004e80ca7be7defdd20c.tar.gz |
_yaml: rework 'assert_symbol_names' to not require provenance
Now that we get scalar Nodes, it is easier to just give the node and
extract the provenance as needed.
Diffstat (limited to 'src/buildstream/_frontend')
-rw-r--r-- | src/buildstream/_frontend/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_frontend/app.py b/src/buildstream/_frontend/app.py index cf4ac2b8d..53275d251 100644 --- a/src/buildstream/_frontend/app.py +++ b/src/buildstream/_frontend/app.py @@ -349,7 +349,7 @@ class App(): if project_name: # If project name was specified, user interaction is not desired, just # perform some validation and write the project.conf - _yaml.assert_symbol_name(None, project_name, 'project name') + _yaml.assert_symbol_name(project_name, 'project name') self._assert_format_version(format_version) self._assert_element_path(element_path) |