diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2015-10-11 19:12:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-12-01 21:30:54 +0000 |
commit | 49716a5e27e704598321bd6c82275b16afc444aa (patch) | |
tree | 3540cd405fb6f53c119c5991dbffdfb284c30255 /scripts/lib | |
parent | 06d47777ed1650c479fadf98388f9a3a1f1f9eda (diff) | |
download | openembedded-core-49716a5e27e704598321bd6c82275b16afc444aa.tar.gz openembedded-core-49716a5e27e704598321bd6c82275b16afc444aa.tar.bz2 openembedded-core-49716a5e27e704598321bd6c82275b16afc444aa.zip |
devtool: drop unused plugin_init() functions
This function is no longer required to be defined for a plugin, so drop
it where it's a no-op.
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/devtool/build.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/package.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/sdk.py | 4 | ||||
-rw-r--r-- | scripts/lib/devtool/upgrade.py | 4 | ||||
-rw-r--r-- | scripts/lib/recipetool/newappend.py | 5 |
5 files changed, 0 insertions, 21 deletions
diff --git a/scripts/lib/devtool/build.py b/scripts/lib/devtool/build.py index 9b58858a62..62d8599aeb 100644 --- a/scripts/lib/devtool/build.py +++ b/scripts/lib/devtool/build.py @@ -25,10 +25,6 @@ from devtool import exec_build_env_command, check_workspace_recipe, DevtoolError logger = logging.getLogger('devtool') -def plugin_init(pluginlist): - """Plugin initialization""" - pass - def _create_conf_file(values, conf_file=None): if not conf_file: fd, conf_file = tempfile.mkstemp(suffix='.conf') diff --git a/scripts/lib/devtool/package.py b/scripts/lib/devtool/package.py index 53d3dc7a38..a296fce9b1 100644 --- a/scripts/lib/devtool/package.py +++ b/scripts/lib/devtool/package.py @@ -24,10 +24,6 @@ from devtool import exec_build_env_command, setup_tinfoil, check_workspace_recip logger = logging.getLogger('devtool') -def plugin_init(pluginlist): - """Plugin initialization""" - pass - def package(args, config, basepath, workspace): """Entry point for the devtool 'package' subcommand""" check_workspace_recipe(workspace, args.recipename) diff --git a/scripts/lib/devtool/sdk.py b/scripts/lib/devtool/sdk.py index 7a842afc24..85c0fb1729 100644 --- a/scripts/lib/devtool/sdk.py +++ b/scripts/lib/devtool/sdk.py @@ -11,10 +11,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError logger = logging.getLogger('devtool') -def plugin_init(pluginlist): - """Plugin initialization""" - pass - def parse_locked_sigs(sigfile_path): """Return <pn:task>:<hash> dictionary""" sig_dict = {} diff --git a/scripts/lib/devtool/upgrade.py b/scripts/lib/devtool/upgrade.py index 86d1214908..d7fd408a2e 100644 --- a/scripts/lib/devtool/upgrade.py +++ b/scripts/lib/devtool/upgrade.py @@ -33,10 +33,6 @@ from devtool import exec_build_env_command, setup_tinfoil, DevtoolError, parse_r logger = logging.getLogger('devtool') -def plugin_init(pluginlist): - """Plugin initialization""" - pass - def _run(cmd, cwd=''): logger.debug("Running command %s> %s" % (cwd,cmd)) return bb.process.run('%s' % cmd, cwd=cwd) diff --git a/scripts/lib/recipetool/newappend.py b/scripts/lib/recipetool/newappend.py index 77b74cb730..4eeac0e943 100644 --- a/scripts/lib/recipetool/newappend.py +++ b/scripts/lib/recipetool/newappend.py @@ -32,11 +32,6 @@ logger = logging.getLogger('recipetool') tinfoil = None -def plugin_init(pluginlist): - # Don't need to do anything here right now, but plugins must have this function defined - pass - - def tinfoil_init(instance): global tinfoil tinfoil = instance |