From ba88329115a3d6f964febcbf554af8391e1b84a1 Mon Sep 17 00:00:00 2001 From: João Henrique Ferreira de Freitas Date: Tue, 3 Jun 2014 22:28:02 -0300 Subject: wic: default plugin type directory should be added only once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Richard Purdie --- scripts/lib/mic/plugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/mic/plugin.py b/scripts/lib/mic/plugin.py index bec33d6164..dec0e5bf84 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 -- cgit 1.2.3-korg