diff options
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r-- | src/buildstream/element.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 835225b5e..fa4f63bff 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1466,8 +1466,8 @@ class Element(Plugin): # No workspace or cached buildtree, stage source from source cache else: - # Ensure sources are cached - self.__cache_sources() + # Assert sources are cached + assert self._source_cached() if self.__sources: |