mirror of
https://github.com/Jeffrey-Sardina/liberated-systemd.git
synced 2026-10-19 01:29:53 -05:00
hwdb/acpi-update: apply "ruff format"
This commit is contained in:
1 parent
f74118be4f
commit
a3dc3dc61b
1 file changed
+2
@@ -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.
|
||||
#
|
||||
|
||||
Reference in new issue
Block a user