diff options
author | Jürg Billeter <j@bitron.ch> | 2020-07-29 17:58:39 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-08-06 07:10:28 +0200 |
commit | ff180169260423e5da1742b89d4156186a0e4224 (patch) | |
tree | cfb498e84a5650c8fb9fe127ecc6df61d235d5f0 /src/buildstream/_loader/loader.py | |
parent | 38f7010c8884d592dabeb22bfca4343b6ec3b90c (diff) | |
download | buildstream-ff180169260423e5da1742b89d4156186a0e4224.tar.gz |
Extract ElementSources classjuerg/element-sources
An ElementSources object represents the combined sources of an element.
Diffstat (limited to 'src/buildstream/_loader/loader.py')
-rw-r--r-- | src/buildstream/_loader/loader.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_loader/loader.py b/src/buildstream/_loader/loader.py index 9f881743d..ab299f6f1 100644 --- a/src/buildstream/_loader/loader.py +++ b/src/buildstream/_loader/loader.py @@ -762,7 +762,7 @@ class Loader: # Handle the case where a subproject needs to be fetched # - if not element._has_all_sources_in_source_cache(): + if element._should_fetch(): self.load_context.fetch_subprojects([element]) sources = list(element.sources()) |