Skip to content
Snippets Groups Projects
Commit d25b7d77 authored by Valentin David's avatar Valentin David
Browse files

buildstream/_includes.py: Fix caching of included fragments.

parent 83f4403d
No related branches found
No related tags found
Loading
Pipeline #28279555 passed
......@@ -100,7 +100,7 @@ class Includes:
directory = project.directory
file_path = os.path.join(directory, include)
key = (current_loader, file_path)
if file_path not in self._loaded:
if key not in self._loaded:
self._loaded[key] = _yaml.load(os.path.join(directory, include),
shortname=shortname,
project=project,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment