aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-04-27 22:24:34 +0200
committerKarel Kočí <cynerd@email.cz>2015-04-27 22:24:34 +0200
commite059d019b981f671e3cf8d8bcb60137960bce1dd (patch)
treee70aaf4566389f418cacd1032c6ca9b5f9aeef66 /scripts
parentcb7304654ae5c1575d63c053fbb326ca3a1f45b7 (diff)
downloadlinux-conf-perf-e059d019b981f671e3cf8d8bcb60137960bce1dd.tar.gz
linux-conf-perf-e059d019b981f671e3cf8d8bcb60137960bce1dd.tar.bz2
linux-conf-perf-e059d019b981f671e3cf8d8bcb60137960bce1dd.zip
Fix wrong open mode of iteration file in boot
Diffstat (limited to 'scripts')
-rw-r--r--scripts/boot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot.py b/scripts/boot.py
index 04ac808..c8c9bea 100644
--- a/scripts/boot.py
+++ b/scripts/boot.py
@@ -44,7 +44,7 @@ def boot():
data = bench.stdoutput(output)
iteration = 0
- with open(sf(conf.iteration_file), 'a') as f:
+ with open(sf(conf.iteration_file), 'r') as f:
iteration = int(f.readline())
for key, val in data.items():