From be1117ba31d0c706b60a03760ebafafaa7f2839f Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Thu, 18 Jul 2024 12:07:38 +0800 Subject: [PATCH] Update index.py --- plugins/mysql-yum/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mysql-yum/index.py b/plugins/mysql-yum/index.py index 63640f949..c9856e2d6 100755 --- a/plugins/mysql-yum/index.py +++ b/plugins/mysql-yum/index.py @@ -3476,7 +3476,7 @@ def installPreInspection(version): sysName = sys[0].strip().lower() sysId = sys_id[0].strip() - if not sysName in ('centos',): + if not sysName in ['centos']: return '仅支持centos' if (sysName == 'centos' and version == '5.7' and not sysId in('7',)):