summaryrefslogtreecommitdiffstats
path: root/scripts/lib/buildstats.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/buildstats.py')
-rw-r--r--scripts/lib/buildstats.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/lib/buildstats.py b/scripts/lib/buildstats.py
index fa94c65539..6db60d5bcf 100644
--- a/scripts/lib/buildstats.py
+++ b/scripts/lib/buildstats.py
@@ -234,6 +234,7 @@ class BuildStats(dict):
234 """ 234 """
235 Parse the top-level build_stats file for build-wide start and duration. 235 Parse the top-level build_stats file for build-wide start and duration.
236 """ 236 """
237 start = elapsed = 0
237 with open(path) as fobj: 238 with open(path) as fobj:
238 for line in fobj.readlines(): 239 for line in fobj.readlines():
239 key, val = line.split(':', 1) 240 key, val = line.split(':', 1)