From 4ff1f2d08b89a84223bff6310db7a18946c42ecd Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Thu, 1 Aug 2013 13:39:32 +0200 Subject: [PATCH] fio2gnuplot: Fixing typo when inserting fake data Commit f9846c392d176582916c39b1925a436e79f23de1 introduced fake data when matched files doesn't have the exact same amount of traces. This patch introduced a typo that prevented the int comparison to work properly. --- tools/plot/fio2gnuplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plot/fio2gnuplot.py b/tools/plot/fio2gnuplot.py index 800c334b..4be011d2 100755 --- a/tools/plot/fio2gnuplot.py +++ b/tools/plot/fio2gnuplot.py @@ -162,7 +162,7 @@ def compute_temp_file(fio_data_file,disk_perf,gnuplot_output_dir): s=file.readline().replace(',',' ').split() if not s: nb_empty_files+=1 - s="-1, 0, 0, 0'".replace(',',' ').split() + s="-1, 0, 0, 0".replace(',',' ').split() if (nb_empty_files == nb_files): shall_break=True -- 2.25.1