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:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-03 12:43:31 +0100
commit791a3912d98014105bdb2a8585e4a1b7ae8120b1 (patch)
treebcfb06b795482f6113cfa6b5c967a0bbb9b4bc1c /scripts/lib/wic/plugin.py
parent14b47e22f9b2566320ab6ef103da1501bca129de (diff)
downloadpoky-791a3912d98014105bdb2a8585e4a1b7ae8120b1.tar.gz
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>
Diffstat (limited to 'scripts/lib/wic/plugin.py')
-rw-r--r--scripts/lib/wic/plugin.py4
1 files changed, 2 insertions, 2 deletions
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):
48 self.plugin_dir = scripts_path + PLUGIN_DIR 48 self.plugin_dir = scripts_path + PLUGIN_DIR
49 self.layers_path = None 49 self.layers_path = None
50 50
51 def _build_plugin_dir_list(self, dl, ptype): 51 def _build_plugin_dir_list(self, plugin_dir, ptype):
52 if self.layers_path is None: 52 if self.layers_path is None:
53 self.layers_path = get_bitbake_var("BBLAYERS") 53 self.layers_path = get_bitbake_var("BBLAYERS")
54 layer_dirs = [] 54 layer_dirs = []
@@ -58,7 +58,7 @@ class PluginMgr(object):
58 path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype) 58 path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype)
59 layer_dirs.append(path) 59 layer_dirs.append(path)
60 60
61 path = os.path.join(dl, ptype) 61 path = os.path.join(plugin_dir, ptype)
62 layer_dirs.append(path) 62 layer_dirs.append(path)
63 63
64 return layer_dirs 64 return layer_dirs