From: Erwan Velu Date: Thu, 1 Aug 2013 11:39:32 +0000 (+0200) Subject: fio2gnuplot: Fixing typo when inserting fake data X-Git-Tag: fio-2.1.2~8 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=4ff1f2d08b89a84223bff6310db7a18946c42ecd;p=fio.git 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. --- 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