diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-11-27 10:13:20 +0000 |
---|---|---|
committer | Benjamin Schubert <contact@benschubert.me> | 2020-01-16 14:36:35 +0000 |
commit | c48e89d5da3a7b2b2e72d536aaea9ec182d1e1fd (patch) | |
tree | 1af19de25fd77085750a9713aeb96f7460eff548 /src/buildstream/_pipeline.py | |
parent | 0d012ee39240a677baa6336bcdf96a5c282d3d85 (diff) | |
download | buildstream-c48e89d5da3a7b2b2e72d536aaea9ec182d1e1fd.tar.gz |
element.py: Rename '_source_cached' to '_has_all_sources_in_source_cache'
'_source_cached' is not explicit enough as it doesn't distinguishes
between sources in their respective caches and sources in the global
sourcecache.
Diffstat (limited to 'src/buildstream/_pipeline.py')
-rw-r--r-- | src/buildstream/_pipeline.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py index 282408cd4..8d0a3b411 100644 --- a/src/buildstream/_pipeline.py +++ b/src/buildstream/_pipeline.py @@ -375,7 +375,7 @@ class Pipeline: uncached = [] with self._context.messenger.timed_activity("Checking sources"): for element in elements: - if element._get_consistency() < Consistency.CACHED and not element._source_cached(): + if element._get_consistency() < Consistency.CACHED and not element._has_all_sources_in_source_cache(): uncached.append(element) if uncached: |