hwdb/acpi-update: apply "ruff format"

This commit is contained in:
Yu Watanabe committed 2026-05-18 02:32:42 +09:00
1 parent f74118be4f
commit a3dc3dc61b
1 file changed
+2
+2
View File
@@ -5,6 +5,7 @@ from csv import reader
# pylint: disable=consider-using-with
def read_table(filename):
table = list(reader(open(filename, newline='')))
table = table[1:] # Skip header
@@ -15,6 +16,7 @@ def read_table(filename):
# a mistake, strip it.
print(f'\nacpi:{row[1].strip()}*:\n ID_VENDOR_FROM_DATABASE={row[0].strip()}')
print('''\
# This file is part of systemd.
#