diff options
author | João Henrique Ferreira de Freitas <joaohf@gmail.com> | 2014-06-03 22:28:02 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-06 10:29:24 +0100 |
commit | 567fec4b0d20827340eb715decacb4529300ca61 (patch) | |
tree | 92a4fa3d16b99fb2eb6807992226406c03b94ce9 /scripts | |
parent | dfd9aa5c949de6c8fb67e18591281612cb23c534 (diff) | |
download | poky-567fec4b0d20827340eb715decacb4529300ca61.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.
(From OE-Core rev: ba88329115a3d6f964febcbf554af8391e1b84a1)
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.py | 4 |
1 files 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): | |||
57 | path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype) | 57 | path = os.path.join(layer_path, SCRIPTS_PLUGIN_DIR, ptype) |
58 | layer_dirs.append(path) | 58 | layer_dirs.append(path) |
59 | 59 | ||
60 | path = os.path.join(dl, ptype) | 60 | path = os.path.join(dl, ptype) |
61 | layer_dirs.append(path) | 61 | layer_dirs.append(path) |
62 | 62 | ||
63 | return layer_dirs | 63 | return layer_dirs |
64 | 64 | ||