This is an automated email from the ASF dual-hosted git repository. tvb pushed a commit to branch aevri/picklable_jobs in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit daf976cde483b139a35e5acbb5e13102af83076e Author: Angelos Evripiotis <[email protected]> AuthorDate: Tue Apr 2 11:53:27 2019 +0100 WIP: spawn: no _is_main_process --- src/buildstream/_context.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py index 151ea63..3101c0d 100644 --- a/src/buildstream/_context.py +++ b/src/buildstream/_context.py @@ -580,7 +580,9 @@ class Context(): # we also do not allow it in the main process. assert self._log_handle is None assert self._log_filename is None - assert not utils._is_main_process() + + # Need to deal with global _main_pid var. + # assert not utils._is_main_process() # Create the fully qualified logfile in the log directory, # appending the pid and .log extension at the end.
