mirror of
https://git.yoctoproject.org/poky
synced 2026-09-12 06:49:32 +02:00
wic: fix short variable names
Made short variable names longer and more readable. Fixed pylint warnings "Invalid variable name" and "Invalid argument name". (From OE-Core rev: 872cb0d5d79b26f34e6b35d7be8870d245021be4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
14b47e22f9
commit
791a3912d9
@@ -48,7 +48,7 @@ class PluginMgr(object):
|
||||
self.plugin_dir = scripts_path + PLUGIN_DIR
|
||||
self.layers_path = None
|
||||
|
||||
def _build_plugin_dir_list(self, dl, ptype):
|
||||
def _build_plugin_dir_list(self, plugin_dir, ptype):
|
||||
if self.layers_path is None:
|
||||
self.layers_path = get_bitbake_var("BBLAYERS")
|
||||
layer_dirs = []
|
||||
@@ -58,7 +58,7 @@ class PluginMgr(object):
|
||||
path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype)
|
||||
layer_dirs.append(path)
|
||||
|
||||
path = os.path.join(dl, ptype)
|
||||
path = os.path.join(plugin_dir, ptype)
|
||||
layer_dirs.append(path)
|
||||
|
||||
return layer_dirs
|
||||
|
||||
Reference in New Issue
Block a user