summaryrefslogtreecommitdiff
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-02 23:46:52 +0100
commit872cb0d5d79b26f34e6b35d7be8870d245021be4 (patch)
tree37cc334e9769e40e1df60e777e934ee7a404282f /scripts/lib/wic/plugin.py
parentaf0a6d547a5a3efefdd4900f7079dfd10b85342d (diff)
downloadopenembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.tar.gz
openembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.tar.bz2
openembedded-core-872cb0d5d79b26f34e6b35d7be8870d245021be4.zip
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 <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):
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