From b99640c89f067866b264f4ee4030fae4c2f338c0 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Sun, 30 Aug 2015 19:33:19 +0300 Subject: devtool: make plugin_init optional So far all devtool and recipetool plugins were expected to have plugin_init function. This function is empty in most of plugins as they don't require initialisation. Making plugin_init optional would allow not having empty plugin_init in every plugin. Signed-off-by: Ed Bartosh Signed-off-by: Ross Burton --- scripts/lib/devtool/standard.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'scripts/lib/devtool/standard.py') diff --git a/scripts/lib/devtool/standard.py b/scripts/lib/devtool/standard.py index 4702491fe0..5263af56c8 100644 --- a/scripts/lib/devtool/standard.py +++ b/scripts/lib/devtool/standard.py @@ -31,11 +31,6 @@ from devtool import parse_recipe logger = logging.getLogger('devtool') -def plugin_init(pluginlist): - """Plugin initialization""" - pass - - def add(args, config, basepath, workspace): """Entry point for the devtool 'add' subcommand""" import bb -- cgit v1.2.3