From: Chris Lamb Date: Mon, 26 Oct 2009 16:30:41 +0000 (+0000) Subject: Don't repr the object; could be a long (and ends up with eg. "2L") X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d3964be4a3a69782a9442b23ee036d5f87620e35;p=dak.git Don't repr the object; could be a long (and ends up with eg. "2L") Signed-off-by: Chris Lamb --- diff --git a/dak/stats.py b/dak/stats.py index 6856fa10..52534c51 100755 --- a/dak/stats.py +++ b/dak/stats.py @@ -198,7 +198,7 @@ def number_of_packages(): output = output + arch.center(longest_arch)+" |" for suite_id in suite_id_list: if suite_arches[suite_id].has_key(arch): - count = repr(d[suite_id][arch_id]) + count = "%d" % d[suite_id][arch_id] else: count = "-" output = output + count.rjust(longest_suite)+" |"