This is an automated email from the ASF dual-hosted git repository. not-in-ldap pushed a commit to branch aevri/check_spawn_ci_working in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 798b68fe673c47ce74e8f293cef2ea7692b0cdfd Author: Angelos Evripiotis <[email protected]> AuthorDate: Thu Oct 17 08:52:08 2019 +0100 WIP: don't pickle plugins --- src/buildstream/plugin.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/buildstream/plugin.py b/src/buildstream/plugin.py index e269a4b..dd8203a 100644 --- a/src/buildstream/plugin.py +++ b/src/buildstream/plugin.py @@ -726,6 +726,9 @@ class Plugin(): raise NotImplementedError("{tag} plugin '{kind}' does not implement _get_args_for_child_job_pickling()".format( tag=self.__type_tag, kind=self.get_kind())) + def __getstate__(self): + raise Exception("Do not pickle plugins") + ############################################################# # Local Private Methods # #############################################################
