]> code.ossystems Code Review - openembedded-core.git/commitdiff
scriptutils: remove the useless import line
authorChen Qi <Qi.Chen@windriver.com>
Mon, 2 Dec 2019 06:03:10 +0000 (14:03 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 5 Dec 2019 20:35:27 +0000 (20:35 +0000)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/scriptutils.py

index 45bdaf5f4ed106d429c5c9f0c0f7b017a4304170..f92255d8dc29fb35c7d3633fad4b03db53001992 100644 (file)
@@ -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)