]> git.decadent.org.uk Git - dak.git/commitdiff
Merge commit 'lamby/master' into merge
authorJoerg Jaspert <joerg@debian.org>
Mon, 26 Oct 2009 16:39:29 +0000 (17:39 +0100)
committerJoerg Jaspert <joerg@debian.org>
Mon, 26 Oct 2009 16:39:29 +0000 (17:39 +0100)
* commit 'lamby/master':
  Don't repr the object; could be a long (and ends up with eg. "2L")

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/stats.py

index e3e9077bcbe6ed991eaf0fb32a77b6b879709ba5..583178b28a01d89b660dfc15ef67b089b3fd422e 100755 (executable)
@@ -193,7 +193,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)+" |"