From bca075d9902224ff68583d9201c2bb0e204ed31b Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 9 Aug 2022 14:15:27 +0200 Subject: [PATCH] Teach check_robot.py about CentOS8 We have the possibility of having a CentOS8 system, make sure the check takes that into account. Change-Id: Iff30b8c9b0505443e280000902b10bc23940c0fa Signed-off-by: Robert Varga --- check_robot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_robot.py b/check_robot.py index 0dcadb865..56d2f7033 100755 --- a/check_robot.py +++ b/check_robot.py @@ -32,7 +32,7 @@ def get_robot_systems(filename): with open(filename, "r") as _file: for num, line in enumerate(_file, 1): - if re.search("centos7-robot", line): + if re.search("centos[78]-robot", line): robots.add(line.rsplit(maxsplit=1)[1]) return robots -- 2.36.6