From eea62fc01ec6764d1df2ce2707bd9c03ff78c1dd Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 14 Feb 2015 21:39:45 +0100 Subject: reproducible: notes: add a counter also to /issues/ pages --- bin/reproducible_html_notes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_html_notes.py b/bin/reproducible_html_notes.py index 6a130353..a96b2d3c 100755 --- a/bin/reproducible_html_notes.py +++ b/bin/reproducible_html_notes.py @@ -239,8 +239,9 @@ def gen_html_issue(issue): # add affected packages: affected = '' try: + affected += tab*4 + '' + str(len(issues_count[issue])) + ':\n' for pkg in sorted(issues_count[issue]): - affected += tab*6 + '%s\n' \ + affected += tab*7 + '%s\n' \ % (RB_PKG_URI, pkg, pkg) except KeyError: # The note is not listed in any package, that is affected = 'None' -- cgit v1.2.3-70-g09d2