[oe-commits] João Henrique Ferreira de Freitas : wic: default plugin type directory should be added only once
git at git.openembedded.org
git at git.openembedded.org
Tue Jun 10 16:44:18 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: ba88329115a3d6f964febcbf554af8391e1b84a1
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ba88329115a3d6f964febcbf554af8391e1b84a1
Author: João Henrique Ferreira de Freitas <joaohf at gmail.com>
Date: Tue Jun 3 22:28:02 2014 -0300
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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 bec33d6..dec0e5b 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
More information about the Openembedded-commits
mailing list