CI: fix string formatting for python3.5

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2021-01-26 09:51:59 +01:00
parent c9e08d030b
commit 747695e476
+1 -1
View File
@@ -308,7 +308,7 @@ class Containerize():
errorandwarnings = {}
warningsNo = 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:
result = re.search(' ERROR ', str(line))
if result is not None: