diff options
author | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-10-18 14:24:17 +0100 |
---|---|---|
committer | Tristan Maat <tristan.maat@codethink.co.uk> | 2019-11-18 13:22:38 +0000 |
commit | f5a23b82784afe208febfdde9c1912e9f059e1c4 (patch) | |
tree | 831e2a69ebafccdc7d667f53cd9481fa21434db6 /src/buildstream/_pipeline.py | |
parent | 14146c2796fbf83afb8832bff67f4fa5be88c764 (diff) | |
download | buildstream-f5a23b82784afe208febfdde9c1912e9f059e1c4.tar.gz |
Only run `element.__update_source_state` when necessary
Diffstat (limited to 'src/buildstream/_pipeline.py')
-rw-r--r-- | src/buildstream/_pipeline.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buildstream/_pipeline.py b/src/buildstream/_pipeline.py index 0b9ab5f24..c754ce78f 100644 --- a/src/buildstream/_pipeline.py +++ b/src/buildstream/_pipeline.py @@ -147,6 +147,7 @@ class Pipeline: for element in self.dependencies(targets, Scope.ALL): # Determine initial element state. if not element._resolved_initial_state: + element._update_source_state() element._update_state() # We may already have Elements which are cached and have their runtimes |