diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-10-18 17:54:42 +0100 |
---|---|---|
committer | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-11-18 13:22:38 +0000 |
commit | 2a2c14055f2ced46ff03ce02081d8f9ff439f906 (patch) | |
tree | cc16fb51632883b23cced5ba4e6d62d32e488fad /src/buildstream/_loader | |
parent | f5a23b82784afe208febfdde9c1912e9f059e1c4 (diff) | |
download | buildstream-2a2c14055f2ced46ff03ce02081d8f9ff439f906.tar.gz |
Create _initialize_state() to capture an _update_state() use case
Diffstat (limited to 'src/buildstream/_loader')
-rw-r--r-- | src/buildstream/_loader/loader.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/buildstream/_loader/loader.py b/src/buildstream/_loader/loader.py index 56128e99f..4d5e1cc12 100644 --- a/src/buildstream/_loader/loader.py +++ b/src/buildstream/_loader/loader.py @@ -633,11 +633,7 @@ class Loader: raise LoadError("Dependencies are forbidden for 'junction' elements", LoadErrorReason.INVALID_JUNCTION) element = Element._new_from_meta(meta_element) - element._update_source_state() - # FIXME: We're doubly updating here for the moment; this - # should be removed once we don't need the entirety of - # _update_state() anymore - element._update_state() + element._initialize_state() # If this junction element points to a sub-sub-project, we need to # find loader for that project. |