aboutsummaryrefslogtreecommitdiffstats
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-02 11:45:49 +0100
commit874a269eb1d70060c2f3b3f8b70800e2aea789f4 (patch)
treecf18ec2ca7e6b04121c023499326f0057a16b82c /scripts/combo-layer
parent0c856653ce65403791e1e5c78229820ff794bae3 (diff)
downloadopenembedded-core-contrib-874a269eb1d70060c2f3b3f8b70800e2aea789f4.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. 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):
msg = conf_commit_msg(conf, components)
new_tree = runcmd("git write-tree", **wargs).strip()
new_rev = runcmd("git commit-tree".split() +
- add_p([head] + additional_heads.keys()) +
+ add_p([head] + list(additional_heads.keys())) +
["-m", msg, new_tree],
**wargs).strip()
# And done! This is the first time we change the HEAD in the actual work tree.