diff options
author | Karel Kočí <cynerd@email.cz> | 2015-04-27 22:24:34 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2015-04-27 22:24:34 +0200 |
commit | e059d019b981f671e3cf8d8bcb60137960bce1dd (patch) | |
tree | e70aaf4566389f418cacd1032c6ca9b5f9aeef66 /scripts | |
parent | cb7304654ae5c1575d63c053fbb326ca3a1f45b7 (diff) | |
download | linux-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.py | 2 |
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(): |