summaryrefslogtreecommitdiffstats
path: root/scripts/combo-layer
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2016-06-02 13:12:47 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-03 13:13:28 +0100
commit07c97db27288cf806900b13e55fe37e4bf22e889 (patch)
treebf116c101f365c8dc438b72aa9499feabea2ef66 /scripts/combo-layer
parent1132970f0e1a9e9a2135549b8512f58af80aa5c4 (diff)
downloadpoky-07c97db27288cf806900b13e55fe37e4bf22e889.tar.gz
scripts: python3: convert iterables to lists
Converted return value of items() keys() and values() to lists when dictionary is modified in the loop and when the result is added to the list. (From OE-Core rev: 874a269eb1d70060c2f3b3f8b70800e2aea789f4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/combo-layer')
-rwxr-xr-xscripts/combo-layer2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/combo-layer b/scripts/combo-layer
index 234d9e447b..7c41f92744 100755
--- a/scripts/combo-layer
+++ b/scripts/combo-layer
@@ -1186,7 +1186,7 @@ def update_with_history(conf, components, revisions, repos):
1186 msg = conf_commit_msg(conf, components) 1186 msg = conf_commit_msg(conf, components)
1187 new_tree = runcmd("git write-tree", **wargs).strip() 1187 new_tree = runcmd("git write-tree", **wargs).strip()
1188 new_rev = runcmd("git commit-tree".split() + 1188 new_rev = runcmd("git commit-tree".split() +
1189 add_p([head] + additional_heads.keys()) + 1189 add_p([head] + list(additional_heads.keys())) +
1190 ["-m", msg, new_tree], 1190 ["-m", msg, new_tree],
1191 **wargs).strip() 1191 **wargs).strip()
1192 # And done! This is the first time we change the HEAD in the actual work tree. 1192 # And done! This is the first time we change the HEAD in the actual work tree.