From: Peter van Dijk Date: Tue, 3 Sep 2013 13:25:00 +0000 (+0200) Subject: fix table layout X-Git-Tag: rec-3.6.0-rc1~470 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bb027acebac355334cf05cc21efb6b1e10b520fd;p=thirdparty%2Fpdns.git fix table layout --- 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)])