Show More
@@ -2019,8 +2019,9 def loadtimes(outputdir): | |||||
2019 | try: |
|
2019 | try: | |
2020 | with open(os.path.join(outputdir, b'.testtimes-')) as fp: |
|
2020 | with open(os.path.join(outputdir, b'.testtimes-')) as fp: | |
2021 | for line in fp: |
|
2021 | for line in fp: | |
2022 | ts = line.split() |
|
2022 | m = re.match('(.*?) ([0-9. ]+)', line) | |
2023 | times.append((ts[0], [float(t) for t in ts[1:]])) |
|
2023 | times.append((m.group(1), | |
|
2024 | [float(t) for t in m.group(2).split()])) | |||
2024 | except IOError as err: |
|
2025 | except IOError as err: | |
2025 | if err.errno != errno.ENOENT: |
|
2026 | if err.errno != errno.ENOENT: | |
2026 | raise |
|
2027 | raise |
General Comments 0
You need to be logged in to leave comments.
Login now