diff options
author | Darius Makovsky <traveltissues@protonmail.com> | 2020-01-16 12:10:38 +0000 |
---|---|---|
committer | Darius Makovsky <traveltissues@protonmail.com> | 2020-01-16 12:49:34 +0000 |
commit | 7e7e2e65b22204d989993d0dcddfef7fe008f6f8 (patch) | |
tree | 3ebd481e6f1838f9185b419642e62b39336a291e | |
parent | b97e32612da29addcadf2e1aa2d11b2ab5908b25 (diff) | |
download | buildstream-traveltissues/mr4.tar.gz |
element: always attempt to save the workspace configtraveltissues/mr4
Save the workspace config if the element is cached and workspaced
regardless of the success of the build.
-rw-r--r-- | src/buildstream/element.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 6ba35953e..6e263f706 100644 --- a/src/buildstream/element.py +++ b/src/buildstream/element.py @@ -1570,7 +1570,7 @@ class Element(Plugin): self.__update_cache_key_non_strict() self._update_ready_for_runtime_and_cached() - if self._get_workspace() and self._cached_success(): + if self._get_workspace() and self._cached(): assert utils._is_main_process(), "Attempted to save workspace configuration from child process" # # Note that this block can only happen in the |