From bb027acebac355334cf05cc21efb6b1e10b520fd Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Tue, 3 Sep 2013 15:25:00 +0200 Subject: [PATCH] fix table layout --- regression-tests/bulktest-report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regression-tests/bulktest-report.py b/regression-tests/bulktest-report.py index af2bf7a29a..02f2b1f14e 100755 --- a/regression-tests/bulktest-report.py +++ b/regression-tests/bulktest-report.py @@ -25,7 +25,7 @@ selected.sort() names.discard('tag') -fmt=''.join('%%%ds' % (i+4) for i in [3]+map(len, sorted(names))) +fmt=''.join('%%%ds' % max(15, i+4) for i in [3]+map(len, sorted(names))) print fmt % tuple(['tag']+sorted(names)) for tag, stats in selected: - print fmt % tuple(['tag'] + [stats.get(s) for s in sorted(names)]) + print fmt % tuple([tag] + [stats.get(s) for s in sorted(names)]) -- 2.47.3