From 872cb0d5d79b26f34e6b35d7be8870d245021be4 Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Wed, 2 Sep 2015 13:58:16 +0300 Subject: wic: fix short variable names Made short variable names longer and more readable. Fixed pylint warnings "Invalid variable name" and "Invalid argument name". Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- scripts/lib/wic/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/lib/wic/plugin.py') diff --git a/scripts/lib/wic/plugin.py b/scripts/lib/wic/plugin.py index 7244989d86..ccfdfcb934 100644 --- a/scripts/lib/wic/plugin.py +++ b/scripts/lib/wic/plugin.py @@ -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 -- cgit v1.2.3