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 /tests/artifactcache | |
parent | 14146c2796fbf83afb8832bff67f4fa5be88c764 (diff) | |
download | buildstream-f5a23b82784afe208febfdde9c1912e9f059e1c4.tar.gz |
Only run `element.__update_source_state` when necessary
Diffstat (limited to 'tests/artifactcache')
-rw-r--r-- | tests/artifactcache/push.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/artifactcache/push.py b/tests/artifactcache/push.py index 238d5f7ef..e5a332dea 100644 --- a/tests/artifactcache/push.py +++ b/tests/artifactcache/push.py @@ -37,6 +37,7 @@ def _push(cli, cache_dir, project_dir, config_file, target): # as this test does not use the cli frontend. for e in element.dependencies(Scope.ALL): # Determine initial element state. + e._update_source_state() e._update_state() # Manually setup the CAS remotes |