Commit 747695e4 authored by Raphael Defosseux's avatar Raphael Defosseux

CI: fix string formatting for python3.5

Signed-off-by: default avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent c9e08d03
...@@ -308,7 +308,7 @@ class Containerize(): ...@@ -308,7 +308,7 @@ class Containerize():
errorandwarnings = {} errorandwarnings = {}
warningsNo = 0 warningsNo = 0
errorsNo = 0 errorsNo = 0
with open(f'build_log_{self.testCase_id}/{image}/{fil}', mode='r') as inputfile: with open('build_log_{}/{}/{}'.format(self.testCase_id,image,fil), mode='r') as inputfile:
for line in inputfile: for line in inputfile:
result = re.search(' ERROR ', str(line)) result = re.search(' ERROR ', str(line))
if result is not None: if result is not None:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment