[dak/master] Don't repr the object; could be a long (and ends up with eg. "2L")
Signed-off-by: Chris Lamb <lamby@debian.org>
---
dak/stats.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/stats.py b/dak/stats.py
index 6856fa1..52534c5 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)+" |"
--
1.5.6.5
Reply to: