From bd59ce125146116d0a680a65d1a21a5303f64235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20F=C3=B6hr?= Date: Tue, 17 Sep 2024 16:56:21 +0300 Subject: [PATCH] rename variable --- src/wakepy/core/platform.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wakepy/core/platform.py b/src/wakepy/core/platform.py index b55ca487..1e9a967c 100644 --- a/src/wakepy/core/platform.py +++ b/src/wakepy/core/platform.py @@ -76,7 +76,7 @@ def get_etc_os_release() -> dict[str, str]: with open(release_file) as f: for line in f: key, value = line.split("=", maxsplit=1) - if key in ignored_release_keys: + if key in IGNORED_RELEASE_FILE_KEYS: continue key_out = f"({release_file}) {key}" out[key_out] = value.strip() @@ -87,7 +87,7 @@ def get_etc_os_release() -> dict[str, str]: ETC_LSB_RELEASE_PATH = "/etc/lsb-release" # keys ignored in /etc/os-release and /etc/lsb-release files -ignored_release_keys = [ +IGNORED_RELEASE_FILE_KEYS = [ "ANSI_COLOR", "LOGO", "CPE_NAME",