This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch traveltissues/mr4 in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 7e7e2e65b22204d989993d0dcddfef7fe008f6f8 Author: Darius Makovsky <[email protected]> AuthorDate: Thu Jan 16 12:10:38 2020 +0000 element: always attempt to save the workspace config Save the workspace config if the element is cached and workspaced regardless of the success of the build. --- src/buildstream/element.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildstream/element.py b/src/buildstream/element.py index 6ba3595..6e263f7 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
