From: Robert Varga Date: Tue, 9 Aug 2022 12:15:27 +0000 (+0200) Subject: Teach check_robot.py about CentOS8 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F16%2F102016%2F1;p=releng%2Fbuilder.git 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 --- diff --git a/check_robot.py b/check_robot.py index 0dcadb865e..56d2f70334 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