diff options
author | Angelos Evripiotis <jevripiotis@bloomberg.net> | 2019-07-05 15:35:06 +0100 |
---|---|---|
committer | Angelos Evripiotis <angelos.evripiotis@gmail.com> | 2019-07-09 20:48:09 +0000 |
commit | be76fb4deeedfaf0ea91742a5bfd83090208a700 (patch) | |
tree | e5df98544da7a8f50678911c1855d5f0170d6c08 | |
parent | 639e9054efa3a084ece3183523d9cfb494e82892 (diff) | |
download | buildstream-be76fb4deeedfaf0ea91742a5bfd83090208a700.tar.gz |
_plugincontext: rm unused self._dependencies
Also document the pre-existing format_versions parameter.
-rw-r--r-- | src/buildstream/_plugincontext.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buildstream/_plugincontext.py b/src/buildstream/_plugincontext.py index 9145b3a3b..7fef9b9f4 100644 --- a/src/buildstream/_plugincontext.py +++ b/src/buildstream/_plugincontext.py @@ -32,6 +32,8 @@ from . import _yaml # base_type (type): A base object type for this context # site_plugin_path (str): Path to where buildstream keeps plugins # plugin_origins (list): Data used to search for plugins +# format_versions (dict): A dict of meta.kind to the integer minimum +# version number for each plugin to be loaded # # Since multiple pipelines can be processed recursively # within the same interpretor, it's important that we have @@ -43,8 +45,7 @@ from . import _yaml class PluginContext(): def __init__(self, plugin_base, base_type, site_plugin_path, *, - plugin_origins=None, dependencies=None, - format_versions={}): + plugin_origins=None, format_versions={}): # The plugin kinds which were loaded self.loaded_dependencies = [] @@ -52,7 +53,6 @@ class PluginContext(): # # Private members # - self._dependencies = dependencies self._base_type = base_type # The base class plugins derive from self._types = {} # Plugin type lookup table by kind self._plugin_origins = plugin_origins or [] |