diff options
author | James Ennis <james.ennis@codethink.com> | 2018-06-28 18:34:47 +0100 |
---|---|---|
committer | James Ennis <james.ennis@codethink.com> | 2018-06-29 09:45:12 +0100 |
commit | 48848f4e69201b78524443dc34a77cf872e0ad6c (patch) | |
tree | eb6dcfb50fd27289003131750d20524908ab69f7 /buildstream/_yaml.py | |
parent | 463698ec3203190aeac1f41ed3885f08e95bceae (diff) | |
download | buildstream-48848f4e69201b78524443dc34a77cf872e0ad6c.tar.gz |
loader.py: Check whether the dir specified is also a <dir>.bst file
- Slight modification to the wording of existing error message.
- Closes #446
Diffstat (limited to 'buildstream/_yaml.py')
-rw-r--r-- | buildstream/_yaml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_yaml.py b/buildstream/_yaml.py index 00336281c..0e090e2e7 100644 --- a/buildstream/_yaml.py +++ b/buildstream/_yaml.py @@ -186,7 +186,7 @@ def load(filename, shortname=None, copy_tree=False): "Could not find file at {}".format(filename)) from e except IsADirectoryError as e: raise LoadError(LoadErrorReason.LOADING_DIRECTORY, - "{} is a directory. bst command is expecting a .bst file" + "{} is a directory. bst command expects a .bst file." .format(filename)) from e |