diff options
author | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-23 16:07:25 +0100 |
---|---|---|
committer | Daniel Silverstone <daniel.silverstone@codethink.co.uk> | 2018-10-25 15:43:52 +0100 |
commit | b279c730ef38e599a79147a6bfeb80acc52c2f35 (patch) | |
tree | c1dc584f9f001e229db8a3ca49fa245dbc25f392 | |
parent | 5a3a537fe146129e1e6551f6689cf3d8ef4dfbbf (diff) | |
download | buildstream-b279c730ef38e599a79147a6bfeb80acc52c2f35.tar.gz |
_yamlcache.py: Correct bug in `YamlCache._get_filepath()`
The correct file path was computed but never returned. This was
never caught because of a test missing consumption of one of its
parameters. This commit resolves the bug mentioned in #722 leaving
the test to be amended by a future commit.
Signed-off-by: Daniel Silverstone <daniel.silverstone@codethink.co.uk>
-rw-r--r-- | buildstream/_yamlcache.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_yamlcache.py b/buildstream/_yamlcache.py index 39b24cccc..9b5e3212f 100644 --- a/buildstream/_yamlcache.py +++ b/buildstream/_yamlcache.py @@ -207,7 +207,7 @@ class YamlCache(): filepath = os.path.relpath(full_path, project.directory) else: filepath = full_path - return full_path + return filepath # _calculate_key(): # |