1184 error = output[4] |
1184 error = output[4] |
1185 return (True, fn, line, code, error, []) |
1185 return (True, fn, line, code, error, []) |
1186 else: |
1186 else: |
1187 index = 5 |
1187 index = 5 |
1188 warnings = [] |
1188 warnings = [] |
1189 while index < len(output): |
1189 while len(output) - index > 3: |
1190 if output[index] == "FLAKES_ERROR": |
1190 if output[index] == "FLAKES_ERROR": |
1191 return (True, output[index + 1], output[index + 2], "", |
1191 return (True, output[index + 1], output[index + 2], "", |
1192 output[index + 3], []) |
1192 output[index + 3], []) |
1193 else: |
1193 else: |
1194 warnings.append((output[index + 1], output[index + 2], |
1194 warnings.append((output[index + 1], output[index + 2], |