summaryrefslogtreecommitdiff
path: root/src/buildstream/element.py
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2020-08-04 16:02:27 +0200
committerJürg Billeter <j@bitron.ch>2020-08-06 07:10:28 +0200
commit6a84970155e69ca554453b56f5d6da3fa1710f31 (patch)
tree4b786d8114e98589e943856fe361b29fb0740347 /src/buildstream/element.py
parent5c1468e7ebfeddb695eb754b606099468dcea98a (diff)
downloadbuildstream-6a84970155e69ca554453b56f5d6da3fa1710f31.tar.gz
element.py: Drop cache checks from `_tracking_done()`
This was a workaround for inconsistent error handling in the frontend. As the error handling is now fixed, drop these cache checks after tracking.
Diffstat (limited to 'src/buildstream/element.py')
-rw-r--r--src/buildstream/element.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py
index 4c3f239a1..5782ae4af 100644
--- a/src/buildstream/element.py
+++ b/src/buildstream/element.py
@@ -1232,13 +1232,6 @@ class Element(Plugin):
# source state. We need to update source state.
self.__update_resolved_state()
- # Check whether sources are now cached.
- # This is done here so that we don't throw an exception trying to show the pipeline at the end
- # This has for side-effect to cache this fact too, which will change the object's state.
- # This is done here rather than later so we can validate that the sources are valid locally
- self._has_all_sources_in_source_cache()
- self._has_all_sources_cached()
-
# _track():
#
# Calls track() on the Element sources