aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>2014-06-03 22:28:02 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-06 10:29:22 +0100
commitba88329115a3d6f964febcbf554af8391e1b84a1 (patch)
tree7a90eac1fd0277d90e24a1e9daca0e575735eaae /scripts
parentf82523e8afd1fc9b86ccabff01dbb781bac9b6f5 (diff)
downloadopenembedded-core-contrib-ba88329115a3d6f964febcbf554af8391e1b84a1.tar.gz
wic: default plugin type directory should be added only once
Fix 'for' statement identention so plugin type directory will be added only once in layers_dirs list. No functional changes. Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/mic/plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/mic/plugin.py b/scripts/lib/mic/plugin.py
index bec33d61646..dec0e5bf849 100644
--- a/scripts/lib/mic/plugin.py
+++ b/scripts/lib/mic/plugin.py
@@ -57,8 +57,8 @@ class PluginMgr(object):
path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype)
layer_dirs.append(path)
- path = os.path.join(dl, ptype)
- layer_dirs.append(path)
+ path = os.path.join(dl, ptype)
+ layer_dirs.append(path)
return layer_dirs