]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
qemu.bbclass: fix a python TypeError
authorMing Liu <liu.ming50@gmail.com>
Sun, 7 Jan 2024 10:34:48 +0000 (11:34 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 9 Jan 2024 22:59:26 +0000 (22:59 +0000)
commitb619197bd52a4a99a9989e7ea6fb7032415b1e42
treefcf166c0f3b2c2575e8806ab498f1d4c4916cc07
parent66877ee144a4ccf36c55a8c027a36a21bb58fa47
qemu.bbclass: fix a python TypeError

QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a
empty string.

ALso removed two useless blanks.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/qemu.bbclass