summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugin.py
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2015-09-02 13:58:13 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:29 +0100
commite7287e5157eb8a1486b8896ae4c9a050b86562c7 (patch)
tree2a159f38b30b26cc94567dd419329a8eda566ed2 /scripts/lib/wic/plugin.py
parente3a062ab1e90be6f6bed1e2facb9bfcbc0274f00 (diff)
downloadpoky-e7287e5157eb8a1486b8896ae4c9a050b86562c7.tar.gz
wic: fix pylint warning unused-variable
Removed or reworked code with unused variables. (From OE-Core rev: 3644b9f5ca25dfc61d4f5eda0f073c8a879b492b) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/plugin.py')
-rw-r--r--scripts/lib/wic/plugin.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py
index e901f807ad..7244989d86 100644
--- a/scripts/lib/wic/plugin.py
+++ b/scripts/lib/wic/plugin.py
@@ -124,12 +124,7 @@ class PluginMgr(object):
124 124
125 self.append_dirs(plugins_dir) 125 self.append_dirs(plugins_dir)
126 126
127 plugins = [] 127 return self.get_plugins('source')
128
129 for _source_name, klass in self.get_plugins('source').iteritems():
130 plugins.append(_source_name)
131
132 return plugins
133 128
134 129
135 def get_source_plugin_methods(self, source_name, methods): 130 def get_source_plugin_methods(self, source_name, methods):