]> git.ipfire.org Git - thirdparty/systemd.git/commit
hwdb/acpi-update.py: streamline python code 30035/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 15 Nov 2023 14:24:34 +0000 (15:24 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 15 Nov 2023 14:25:26 +0000 (15:25 +0100)
commita05bf18ed9cf427e56f86139aece0731f70f3e45
tree3a80fefaa588db1709bb13045529d470f877e47d
parent94113d5f19e5768c206176684e63525f679988d3
hwdb/acpi-update.py: streamline python code

Use f-strings and simplify the code a bit.

When I call 'acpi-update.py' after those changes, the resulting .hwdb files are
the same except for two additions that appeared in the meantime. I don't think
it makes sense to update them again, because the ma-*.txt files changed and we
don't want to store big blobs unnecessarilly.
hwdb.d/acpi-update.py