Code Review
/
releng
/
builder.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
4521798
)
Teach check_robot.py about CentOS8
16/102016/1
author
Robert Varga
<robert.varga@pantheon.tech>
Tue, 9 Aug 2022 12:15:27 +0000
(14:15 +0200)
committer
Robert Varga
<robert.varga@pantheon.tech>
Tue, 9 Aug 2022 12:22:23 +0000
(14:22 +0200)
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 <robert.varga@pantheon.tech>
check_robot.py
patch
|
blob
|
history
diff --git
a/check_robot.py
b/check_robot.py
index 0dcadb865eec22b34141f27c995ce918735e58a9..56d2f7033454380dba3c8abbc40ec71851dfe491 100755
(executable)
--- 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("centos
7
-robot", line):
+ if re.search("centos
[78]
-robot", line):
robots.add(line.rsplit(maxsplit=1)[1])
return robots