From: Chris Laplante <[email protected]>

It never had to be a global anyway

Signed-off-by: Chris Laplante <[email protected]>
---
 scripts/devtool | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/scripts/devtool b/scripts/devtool
index d96d25a51a..b43a958497 100755
--- a/scripts/devtool
+++ b/scripts/devtool
@@ -28,8 +28,6 @@ import scriptutils
 import argparse_oe
 logger = scriptutils.logger_create('devtool')
 
-plugins = []
-
 
 class ConfigHandler:
     basepath = None
@@ -302,6 +300,7 @@ def main():
 
     context = Context(fixed_setup=False, config=config, 
pluginpaths=pluginpaths)
 
+    plugins = []
     for pluginpath in pluginpaths:
         scriptutils.load_plugins(logger, plugins, pluginpath)
 
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#209695): 
https://lists.openembedded.org/g/openembedded-core/message/209695
Mute This Topic: https://lists.openembedded.org/mt/110569680/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to