提交 d3964be4 编写于 作者: C Chris Lamb

Don't repr the object; could be a long (and ends up with eg. "2L")

Signed-off-by: NChris Lamb <lamby@debian.org>
上级 939a4e0c
......@@ -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)+" |"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册