diff options
author | Chris Laplante <chris.laplante@agilent.com> | 2025-01-12 09:53:57 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-01-20 13:38:59 +0000 |
commit | 8a46267032ba8ea8845b39b2c7b366d068e24e57 (patch) | |
tree | a83ab77d01496b5085ee567337c95e9d8d22d94a /scripts | |
parent | 58e9a21c91362a5ed35ad0705acdb9accf867006 (diff) | |
download | poky-8a46267032ba8ea8845b39b2c7b366d068e24e57.tar.gz |
devtool: un-globalize 'plugins' variable
It never had to be a global anyway
(From OE-Core rev: 2d5557f4f5d228e94bc7a55ae5fd72b70b5c93e4)
Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/devtool | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/devtool b/scripts/devtool index 9f2b7b7ced..596fdaac66 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -28,8 +28,6 @@ import scriptutils | |||
28 | import argparse_oe | 28 | import argparse_oe |
29 | logger = scriptutils.logger_create('devtool') | 29 | logger = scriptutils.logger_create('devtool') |
30 | 30 | ||
31 | plugins = [] | ||
32 | |||
33 | 31 | ||
34 | class ConfigHandler: | 32 | class ConfigHandler: |
35 | basepath = None | 33 | basepath = None |
@@ -302,6 +300,7 @@ def main(): | |||
302 | 300 | ||
303 | context = Context(fixed_setup=is_fixed_setup, config=config, pluginpaths=pluginpaths) | 301 | context = Context(fixed_setup=is_fixed_setup, config=config, pluginpaths=pluginpaths) |
304 | 302 | ||
303 | plugins = [] | ||
305 | for pluginpath in pluginpaths: | 304 | for pluginpath in pluginpaths: |
306 | scriptutils.load_plugins(logger, plugins, pluginpath) | 305 | scriptutils.load_plugins(logger, plugins, pluginpath) |
307 | 306 | ||