projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix fiologparser.py to work with new logging format
[fio.git]
/
tools
/
fiologparser.py
diff --git
a/tools/fiologparser.py
b/tools/fiologparser.py
index 054f1f60784879023fcc31051379a892d8adbed1..708c5d4920ea7ff287d695cc971d1066c48677de 100755
(executable)
--- a/
tools/fiologparser.py
+++ b/
tools/fiologparser.py
@@
-166,7
+166,7
@@
class TimeSeries(object):
f = open(fn, 'r')
p_time = 0
for line in f:
- (time, value
, foo, bar) = line.rstrip('\r\n').rsplit(', ')
+ (time, value
) = line.rstrip('\r\n').rsplit(', ')[:2]
self.add_sample(p_time, int(time), int(value))
p_time = int(time)