Still looking into pickling.

This commit is contained in:
Ahmet Bakan 2015-05-03 02:45:43 -07:00
parent 5b00d4bf60
commit 5b77f2bac8

View file

@ -225,6 +225,7 @@ def skip_pickling(env):
isinstance(val, types.FunctionType) or \ isinstance(val, types.FunctionType) or \
isinstance(val, class_types): isinstance(val, class_types):
del self.config[key] del self.config[key]
print('Trying to pickle:')
try_pickling(env) try_pickling(env)
# reset attributes # reset attributes
self.domains = domains self.domains = domains