diff options
author | Valentin David <valentin.david@codethink.co.uk> | 2018-08-08 16:54:48 +0200 |
---|---|---|
committer | Valentin David <valentin.david@codethink.co.uk> | 2018-08-20 17:39:07 +0200 |
commit | d25b7d77f4db739b04ac4224c9d8aa9db31aebea (patch) | |
tree | 79fbe31d73a5230a76c2a668df44928019f9b77f | |
parent | 83f4403d2b0c1ad3ac3c3740738d6f113b535690 (diff) | |
download | buildstream-d25b7d77f4db739b04ac4224c9d8aa9db31aebea.tar.gz |
buildstream/_includes.py: Fix caching of included fragments.valentindavid/fix-broken-indentation-after-track-1.2
-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, |