From: Yu Watanabe Date: Thu, 19 Feb 2026 16:47:18 +0000 (+0900) Subject: hwdb/acpi-update: apply "ruff format" X-Git-Tag: v261-rc1~126^2~58 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=a3dc3dc61b3aa019d0f2cf3a5274a73096d3edd6;p=thirdparty%2Fsystemd.git hwdb/acpi-update: apply "ruff format" --- diff --git a/hwdb.d/acpi-update.py b/hwdb.d/acpi-update.py index 41670b32bbc..66a11d8502d 100755 --- a/hwdb.d/acpi-update.py +++ b/hwdb.d/acpi-update.py @@ -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. #