]> err.no Git - dak/commitdiff
Don't repr the object; could be a long (and ends up with eg. "2L")
authorChris Lamb <lamby@debian.org>
Mon, 26 Oct 2009 16:30:41 +0000 (16:30 +0000)
committerChris Lamb <lamby@debian.org>
Mon, 26 Oct 2009 16:30:41 +0000 (16:30 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/stats.py

index 6856fa105f19a2591f993a1e03bc6978cc971f2f..52534c5128be8f2634747d0cd8ec40b3e63bc99d 100755 (executable)
@@ -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)+" |"