From 1e71d4d3fdecd7ec5330893a2a919d7b8ccb6138 Mon Sep 17 00:00:00 2001 From: totaam Date: Sun, 26 Jun 2022 21:14:20 +0700 Subject: [PATCH] fixup syntax: we still support python2 here --- xpra/os_util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xpra/os_util.py b/xpra/os_util.py index 9463aed5da..165ed901c0 100644 --- a/xpra/os_util.py +++ b/xpra/os_util.py @@ -333,13 +333,13 @@ def is_Arch(): def is_CentOS(): return is_distribution_variant(b"CentOS") -def is_AlmaLinux() -> bool: +def is_AlmaLinux(): return is_distribution_variant(b"AlmaLinux") -def is_RockyLinux() -> bool: +def is_RockyLinux(): return is_distribution_variant(b"Rocky Linux") -def is_OracleLinux() -> bool: +def is_OracleLinux(): return is_distribution_variant(b"Oracle Linux") def is_RedHat():