diff options
Diffstat (limited to 'src/buildstream/element.py')
-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 |