summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelos Evripiotis <jevripiotis@bloomberg.net>2019-04-10 13:06:47 +0100
committerAngelos Evripiotis <jevripiotis@bloomberg.net>2019-05-23 16:16:35 +0100
commit26f50fdc695d4dae1ae26fd83de7994cd1fba006 (patch)
tree7cee0a2fe2169816cb71ff026e2f1a8d8cebec84
parentb51a0b8ad9f42b43de3056cd5a0dba4edee8fbc4 (diff)
downloadbuildstream-26f50fdc695d4dae1ae26fd83de7994cd1fba006.tar.gz
WIP: pickle: rm commented out special case
-rw-r--r--src/buildstream/_context.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/buildstream/_context.py b/src/buildstream/_context.py
index 9aa6295a7..f6446ccae 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()