summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2015-10-11 19:12:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-01 21:32:04 +0000
commit3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc (patch)
treec16745171141cd56d7425fa1bc59cb2c030a26ef /scripts/lib/devtool/upgrade.py
parent176211abebb875324d2300ec0362b64231668964 (diff)
downloadpoky-3f46af2b1923cbfd3af0b8ce3c360eb34f316dfc.tar.gz
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. (From OE-Core rev: 49716a5e27e704598321bd6c82275b16afc444aa) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
-rw-r--r--scripts/lib/devtool/upgrade.py4
1 files changed, 0 insertions, 4 deletions
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
33 33
34logger = logging.getLogger('devtool') 34logger = logging.getLogger('devtool')
35 35
36def plugin_init(pluginlist):
37 """Plugin initialization"""
38 pass
39
40def _run(cmd, cwd=''): 36def _run(cmd, cwd=''):
41 logger.debug("Running command %s> %s" % (cwd,cmd)) 37 logger.debug("Running command %s> %s" % (cwd,cmd))
42 return bb.process.run('%s' % cmd, cwd=cwd) 38 return bb.process.run('%s' % cmd, cwd=cwd)