diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2019-12-02 14:03:10 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-06 14:41:28 +0000 |
commit | 50ebd252ac09dd99be14e7b20d8ff942cf9416b5 (patch) | |
tree | a8c31e679720dd99c13dbb80839058425f732c6b /scripts/lib | |
parent | b6644fedb424889d146a3ea12440ac21111dcc22 (diff) | |
download | poky-50ebd252ac09dd99be14e7b20d8ff942cf9416b5.tar.gz |
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.
(From OE-Core rev: 95574a7d18a8acfbed1b956677e72044bdfa7ebc)
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
-rw-r--r-- | scripts/lib/scriptutils.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/lib/scriptutils.py b/scripts/lib/scriptutils.py index 45bdaf5f4e..f92255d8dc 100644 --- a/scripts/lib/scriptutils.py +++ b/scripts/lib/scriptutils.py | |||
@@ -77,7 +77,6 @@ def logger_setup_color(logger, color='auto'): | |||
77 | 77 | ||
78 | 78 | ||
79 | def load_plugins(logger, plugins, pluginpath): | 79 | def load_plugins(logger, plugins, pluginpath): |
80 | import imp | ||
81 | 80 | ||
82 | def load_plugin(name): | 81 | def load_plugin(name): |
83 | logger.debug('Loading plugin %s' % name) | 82 | logger.debug('Loading plugin %s' % name) |