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
poky-81ce5b6c836b2c0155d65bba92b5f90223400fe0.tar.bz2
poky-81ce5b6c836b2c0155d65bba92b5f90223400fe0.zip
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):
recipe_path = tinfoil.get_recipe_file(args.target)
appends = tinfoil.get_file_appends(recipe_path)
- return scriptutils.run_editor([recipe_path] + appends, logger)
+ return scriptutils.run_editor([recipe_path] + list(appends), logger)
def register_commands(subparsers):