X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=check_robot.py;h=56d2f7033454380dba3c8abbc40ec71851dfe491;hb=6737d651d0b72d9f2a4a127bee152da831d0a917;hp=0dcadb865eec22b34141f27c995ce918735e58a9;hpb=b094d327723da8b0c7d08f1698ef9fa086b7a3f9;p=releng%2Fbuilder.git 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