diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2019-09-06 14:07:28 +0100 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2019-09-06 14:07:28 +0100 |
commit | ff99e7bf39208cb3e4573dd3da5cb7531cc5a47d (patch) | |
tree | 9ae6961a646e22662866c0fe596f48ff56e59576 /src | |
parent | 5e6305bc687faf261a51d35c0e76b1f64e3aae3f (diff) | |
download | buildstream-traveltissues/test.tar.gz |
Revert "[WIP] why are element sources not checked for caching if they are workspaced?"traveltissues/test
This reverts commit ef9ce6f4a503c7f09c55852e5eed3be923b159bd.
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 fa6486087..858c31362 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -2226,7 +2226,7 @@ class Element(Plugin): # Check if sources are cached, generating the source key if it hasn't been def _source_cached(self): - if self.__sources: + if self.__sources and not self._get_workspace(): sourcecache = self._get_context().sourcecache # Go through sources we'll cache generating keys |