Skip to content
Snippets Groups Projects
Commit b279c730 authored by Daniel Silverstone's avatar Daniel Silverstone
Browse files

_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: default avatarDaniel Silverstone <daniel.silverstone@codethink.co.uk>
parent 5a3a537f
No related branches found
No related tags found
Loading
...@@ -207,7 +207,7 @@ class YamlCache(): ...@@ -207,7 +207,7 @@ class YamlCache():
filepath = os.path.relpath(full_path, project.directory) filepath = os.path.relpath(full_path, project.directory)
else: else:
filepath = full_path filepath = full_path
return full_path return filepath
# _calculate_key(): # _calculate_key():
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment