This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch aevri/picklable_jobs in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3ba4336197bfb649c4e74960fab2be720476a56c Author: Angelos Evripiotis <[email protected]> AuthorDate: Wed Apr 10 13:07:54 2019 +0100 WIP: spawn: Job no longer pickled --- src/buildstream/_scheduler/jobs/job.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/buildstream/_scheduler/jobs/job.py b/src/buildstream/_scheduler/jobs/job.py index a1c1e57..91b5ed7 100644 --- a/src/buildstream/_scheduler/jobs/job.py +++ b/src/buildstream/_scheduler/jobs/job.py @@ -126,15 +126,6 @@ class Job(): self._message_unique_id = None self._task_id = None - def __getstate__(self): - state = self.__dict__.copy() - del state['_scheduler'] - state['_scheduler_context'] = self._scheduler.context - del state['_process'] - del state['queue'] - del state['_watcher'] - return state - # spawn() # # Spawns the job.
