You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by gi...@apache.org on 2020/12/29 13:22:21 UTC
[buildstream] 31/33: WIP: pickle: rm commented out special case
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 26f50fdc695d4dae1ae26fd83de7994cd1fba006
Author: Angelos Evripiotis <je...@bloomberg.net>
AuthorDate: Wed Apr 10 13:06:47 2019 +0100
WIP: pickle: rm commented out special case
---
src/buildstream/_context.py | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py
index 9aa6295..f6446cc 100644
--- a/src/buildstream/_context.py
+++ b/src/buildstream/_context.py
@@ -171,15 +171,7 @@ class Context():
def __getstate__(self):
state = self.__dict__.copy()
-
- # Looks we can construct these if they're missing.
- # Note that we'll need figure out what to do with 'required elements',
- # hopefully nothing.
- # state['_artifactcache'] = None
- # state['_sourcecache'] = None
-
del state['_message_handler']
-
return state
# load()