From 23f6db1522c08ef6a9dc1cd309d01bdec54f31ee Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Mon, 9 Feb 2015 01:40:21 +0100 Subject: Reverting the last two commits --- bin/reproducible_html_packages.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'bin/reproducible_html_packages.py') diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index ea38fc2f..242c44a9 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -133,9 +133,8 @@ def process_packages(packages, no_clean=False): generate the /rb-pkg/package.html page packages should be a list """ - try: - bugs = get_bugs() - log.debug(str(len(bugs)) + ' bugs found: ' + str(bugs)) + bugs = get_bugs() + log.debug(str(len(bugs)) + ' bugs found: ' + str(bugs)) total = len(packages) log.info('Generating the pages of ' + str(total) + ' package(s)') for pkg in sorted(packages): @@ -145,10 +144,7 @@ def process_packages(packages, no_clean=False): ' built at ' + build_date) links, default_view = gen_extra_links(pkg, version) - try: - bugs_links = gen_bugs_links(pkg, bugs) - else - bugs_links = "" + bugs_links = gen_bugs_links(pkg, bugs) status, icon = join_status_icon(status, pkg, version) html = html_package_page.substitute(package=pkg, -- cgit v1.2.3-70-g09d2