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:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:28 +0100
commitf1bcf47ff4cf90e14e557587f22a169cad8783f7 (patch)
treed3c1aa8e0271e51dae9914afe62cfbf7afdc8c8f /scripts/lib/wic/plugin.py
parent0fc551edb633c1a88feea8f1b0330a86f3d910d2 (diff)
downloadpoky-f1bcf47ff4cf90e14e557587f22a169cad8783f7.tar.gz
wic: fix pylint warning multiple-statements
Fixed pylint warning: More than one statement on a single line (multiple-statements) (From OE-Core rev: fa43b8b482a9423208f5d2c12994fa15bcbddbb2) 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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py
index d714b6d7a9..e901f807ad 100644
--- a/scripts/lib/wic/plugin.py
+++ b/scripts/lib/wic/plugin.py
@@ -82,7 +82,8 @@ class PluginMgr(object):
82 82
83 def _load_all(self): 83 def _load_all(self):
84 for (pdir, loaded) in self.plugin_dirs.iteritems(): 84 for (pdir, loaded) in self.plugin_dirs.iteritems():
85 if loaded: continue 85 if loaded:
86 continue
86 87
87 sys.path.insert(0, pdir) 88 sys.path.insert(0, pdir)
88 for mod in [x[:-3] for x in os.listdir(pdir) if x.endswith(".py")]: 89 for mod in [x[:-3] for x in os.listdir(pdir) if x.endswith(".py")]: