From d8cf70bf0f7320487b7f72b953ef929f6a1ba11e Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 15 Feb 2017 14:58:22 +0200 Subject: wic: reimplement PluginMgr.get_plugin_methods Simplified the implementation of get_plugin_methods: - get rid of looping over the dicrtionary, used access by key instead - get rid of filling a dictionary that passed as a parameter (From OE-Core rev: 875d4eede61b548d64f426c2ef077cc17e50cd45) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/wic/help.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/wic/help.py') diff --git a/scripts/lib/wic/help.py b/scripts/lib/wic/help.py index 4aba12de75..196896c170 100644 --- a/scripts/lib/wic/help.py +++ b/scripts/lib/wic/help.py @@ -374,7 +374,7 @@ DESCRIPTION This scheme is extensible - adding more hooks is a simple matter of adding more plugin methods to SourcePlugin and derived classes. The code that then needs to call the plugin methods uses - plugin.get_source_plugin_methods() to find the method(s) needed by + plugin.get_plugin_methods() to find the method(s) needed by the call; this is done by filling up a dict with keys containing the method names of interest - on success, these will be filled in with the actual methods. Please see the implementation for -- cgit v1.2.3-54-g00ecf