diff options
author | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-12-13 11:01:21 +0000 |
---|---|---|
committer | Benjamin Schubert <bschubert15@bloomberg.net> | 2019-12-13 11:01:21 +0000 |
commit | 7da8a23d28eb57e717478647df213351cbe54fa0 (patch) | |
tree | f20a2ffd74ea5c9947bcd0c9c21903b31fbbf373 /src | |
parent | 4660a27a8005cfe7a532210bf1772f2eba0ca068 (diff) | |
download | buildstream-7da8a23d28eb57e717478647df213351cbe54fa0.tar.gz |
element.py: Only cache sources if some had to be fetchedbschubert/cleanup-element-fetch
Diffstat (limited to 'src')
-rw-r--r-- | src/buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 7c097bad6..ee6b90ce7 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -2118,7 +2118,7 @@ class Element(Plugin): source._fetch(previous_sources) previous_sources.append(source) - self.__cache_sources() + self.__cache_sources() # _calculate_cache_key(): # |