Skip to content

Commit b55011d

Browse files
committed
boot-qemu.py: Use unpacking instead of concatentation
Clears up ruff warning: boot-qemu.py:700:23: RUF005 [*] Consider `[qemu, *qemu_args]` instead of concatenation Signed-off-by: Nathan Chancellor <nathan@kernel.org>
1 parent a23ded7 commit b55011d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

boot-qemu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ def get_qemu_args(cfg):
694694
# with subprocess.Popen()
695695
qemu = shutil.which(qemu)
696696

697-
cfg["qemu_cmd"] = [qemu] + qemu_args
697+
cfg["qemu_cmd"] = [qemu, *qemu_args]
698698

699699
return cfg
700700

0 commit comments

Comments
 (0)