From 557d33ced492ca6babfb227846cf977db0378f2c Mon Sep 17 00:00:00 2001 From: manu Date: Thu, 3 Dec 2020 00:14:40 +0100 Subject: [PATCH] Fix the issue with CentOS 8 not being recognized --- hammer.py | 2 ++ 1 file changed, 2 insertions(+) mode change 100755 => 100644 hammer.py diff --git a/hammer.py b/hammer.py old mode 100755 new mode 100644 index 8db46b7d0d..324ceb9d0d --- a/hammer.py +++ b/hammer.py @@ -219,6 +219,8 @@ def get_system_revision(): revision = platform.release() if '"' in revision: revision = revision.replace('"', '') + if '"' in system: + system = system.replace('"', '') return system.lower(), revision