[oe-commits] [openembedded-core] 06/18: scriptutils: remove the useless import line

git at git.openembedded.org git at git.openembedded.org
Wed Dec 4 12:54:21 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 6f6a2a8fe10c34989bca74d04d932ea3e97641b0
Author: Chen Qi <Qi.Chen at windriver.com>
AuthorDate: Mon Dec 2 14:03:10 2019 +0800

    scriptutils: remove the useless import line
    
    imp was replaced by importlib as it's deprecated, but the import
    line was left, so remove this useless line.
    
    Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 scripts/lib/scriptutils.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py
index 45bdaf5..f92255d 100644
--- a/scripts/lib/scriptutils.py
+++ b/scripts/lib/scriptutils.py
@@ -77,7 +77,6 @@ def logger_setup_color(logger, color='auto'):
 
 
 def load_plugins(logger, plugins, pluginpath):
-    import imp
 
     def load_plugin(name):
         logger.debug('Loading plugin %s' % name)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list