diff options
author | Jürg Billeter <j@bitron.ch> | 2020-10-08 17:09:00 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2020-12-15 07:59:38 +0100 |
commit | 834c4c3b9b0317b81765cb1a9dcab7d7ef2e5c8c (patch) | |
tree | 98fec1743620ce70d8cf3cca0d417c914265a4c5 /src/buildstream/_loader/loadelement.pyx | |
parent | 9c9f11bfbcfad94ef8263eb1c41a2cc472965c19 (diff) | |
download | buildstream-834c4c3b9b0317b81765cb1a9dcab7d7ef2e5c8c.tar.gz |
Call _initialize_state() in Element._new_from_load_element()juerg/cache-query-job-65
With the cache queries moved to job threads, `_initialize_state()` is
fairly lightweight and can be called earlier.
Diffstat (limited to 'src/buildstream/_loader/loadelement.pyx')
-rw-r--r-- | src/buildstream/_loader/loadelement.pyx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/buildstream/_loader/loadelement.pyx b/src/buildstream/_loader/loadelement.pyx index 210869e51..f69e13857 100644 --- a/src/buildstream/_loader/loadelement.pyx +++ b/src/buildstream/_loader/loadelement.pyx @@ -286,7 +286,6 @@ cdef class LoadElement: from ..element import Element element = Element._new_from_load_element(self) - element._initialize_state() # Custom error for link dependencies, since we don't completely # parse their dependencies we cannot rely on the built-in ElementError. |