Skip to content

Commit

Permalink
rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
fohrloop committed Sep 17, 2024
1 parent 1e62ddf commit bd59ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wakepy/core/platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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",
Expand Down

0 comments on commit bd59ce1

Please sign in to comment.