summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlex Kiernan <alex.kiernan@gmail.com>2020-06-12 14:36:40 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-15 14:53:45 +0100
commit81ce5b6c836b2c0155d65bba92b5f90223400fe0 (patch)
tree944faab8821ad4b1fa79da1b756b7ce8013f57d5 /scripts
parent3a4de9ac82d44a0a136c68ca0a52f774cabf7b0a (diff)
downloadpoky-81ce5b6c836b2c0155d65bba92b5f90223400fe0.tar.gz
recipetool: Fix list concatenation when using edit
If there are multiple appends, ensure we concatenate compatible things: Traceback (most recent call last): File "/home/akiernan/poky/scripts/recipetool", line 111, in <module> ret = main() File "/home/akiernan/poky/scripts/recipetool", line 100, in main ret = args.func(args) File "/home/akiernan/poky/scripts/lib/recipetool/edit.py", line 38, in edit return scriptutils.run_editor([recipe_path] + appends, logger) TypeError: can only concatenate list (not "tuple") to list (From OE-Core rev: 4c1e74bdf4922519d168434afd69c9bebcb9bd82) Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/recipetool/edit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/edit.py b/scripts/lib/recipetool/edit.py
index 94bdf7bca4..d5b980a1c0 100644
--- a/scripts/lib/recipetool/edit.py
+++ b/scripts/lib/recipetool/edit.py
@@ -34,7 +34,7 @@ def edit(args):
34 recipe_path = tinfoil.get_recipe_file(args.target) 34 recipe_path = tinfoil.get_recipe_file(args.target)
35 appends = tinfoil.get_file_appends(recipe_path) 35 appends = tinfoil.get_file_appends(recipe_path)
36 36
37 return scriptutils.run_editor([recipe_path] + appends, logger) 37 return scriptutils.run_editor([recipe_path] + list(appends), logger)
38 38
39 39
40def register_commands(subparsers): 40def register_commands(subparsers):