Skip to content
Commit 9a45c7fb authored by Alex Kiernan's avatar Alex Kiernan Committed by Steve Sakoman
Browse files

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

Signed-off-by: default avatarAlex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4c1e74bd)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 0e498523
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment