]> git.ipfire.org Git - thirdparty/mkosi.git/commit
mkosi: refactor creation of FIRMWARE_LOCATIONS lists 760/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 30 Jul 2021 11:28:00 +0000 (13:28 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 30 Jul 2021 13:28:16 +0000 (15:28 +0200)
commite3bfd4151f6199ab03c6090e85a4f0e36cdbede0
treef1b29f0f1867665eaffd4a6e10a944915756f382
parent1ef9e2b5b3b495bc1a02775189666f232e8b3dde
mkosi: refactor creation of FIRMWARE_LOCATIONS lists

It's nicer to make it more "declarative" by creating the lists
directly, instead of appending items one by one.

The newline is dropped from the error message: it's generally nicer to
make error messages one line. On a terminal, output will get wrapped
anyway.

Blame black, not me, for the ugly list formatting.
mkosi/__init__.py