diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2018-08-08 16:54:48 +0200 |
---|---|---|
committer | Qinusty <jrsmith9822@gmail.com> | 2018-08-21 08:44:34 +0000 |
commit | 6bd688cfa6d309018a57c6125a2240e90aeb730f (patch) | |
tree | e9fa9a6985b1774507173a59b7e20e5b994be203 | |
parent | 18acd3ea4594e34b681f08db82e95b1078fb5d00 (diff) | |
download | buildstream-6bd688cfa6d309018a57c6125a2240e90aeb730f.tar.gz |
buildstream/_includes.py: Fix caching of included fragments.
-rw-r--r-- | buildstream/_includes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildstream/_includes.py b/buildstream/_includes.py index acecd5e47..e30003630 100644 --- a/buildstream/_includes.py +++ b/buildstream/_includes.py @@ -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, |