summaryrefslogtreecommitdiff
path: root/src/buildstream/_options/optionpool.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildstream/_options/optionpool.py')
-rw-r--r--src/buildstream/_options/optionpool.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/buildstream/_options/optionpool.py b/src/buildstream/_options/optionpool.py
index c05c55914..b30d1f0ce 100644
--- a/src/buildstream/_options/optionpool.py
+++ b/src/buildstream/_options/optionpool.py
@@ -65,17 +65,6 @@ class OptionPool:
self._environment = None
self._init_environment()
- def __getstate__(self):
- state = self.__dict__.copy()
- # Jinja2 Environments don't appear to be serializable. It is easy
- # enough for us to reconstruct this one anyway, so no need to pickle it.
- del state["_environment"]
- return state
-
- def __setstate__(self, state):
- self.__dict__.update(state)
- self._init_environment()
-
# load()
#
# Loads the options described in the project.conf