summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2018-01-25 10:17:59 +0000
committerJürg Billeter <j@bitron.ch>2018-01-25 10:17:59 +0000
commita950b86fd577841fa9f7cfb1e0e87bf9dfc29582 (patch)
treeffaa8328c263b7054eaa484e1fe50a6f9a9a85b8
parent0d69abed52f5af28d66a7211e885b243137e92cf (diff)
downloadbuildstream-a950b86fd577841fa9f7cfb1e0e87bf9dfc29582.tar.gz
element.py: Call _update_state() in _schedule_tracking()
Do not depend on caller calling it on its own.
-rw-r--r--buildstream/element.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/buildstream/element.py b/buildstream/element.py
index d74007b6b..480caea88 100644
--- a/buildstream/element.py
+++ b/buildstream/element.py
@@ -747,6 +747,8 @@ class Element(Plugin):
for source in self.__sources:
source._schedule_tracking()
+ self._update_state()
+
# _cached():
#
# Returns: