1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-11 04:19:50 +00:00

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>
This commit is contained in:
Ed Bartosh
2015-09-02 13:58:10 +03:00
committed by Richard Purdie
parent 0fc551edb6
commit f1bcf47ff4
3 changed files with 42 additions and 21 deletions
+2 -1
View File
@@ -82,7 +82,8 @@ class PluginMgr(object):
def _load_all(self):
for (pdir, loaded) in self.plugin_dirs.iteritems():
if loaded: continue
if loaded:
continue
sys.path.insert(0, pdir)
for mod in [x[:-3] for x in os.listdir(pdir) if x.endswith(".py")]: