From ccbdbcb1b50f96c3a623093402c368cfa8110fc7 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Tue, 21 Apr 2015 23:18:23 +0200 Subject: reproducible: common.py: add a link_packages() function, exact plural of link_package() --- bin/reproducible_common.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index 75907a40..393e5aa4 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -355,6 +355,14 @@ def link_package(package, suite, arch, bugs={}): return html +def link_packages(packages, suite, arch): + bugs = get_bugs() + html = '' + for pkg in packages: + html += link_package(pkg, suite, arch, bugs) + return html + + def join_status_icon(status, package=None, version=None): table = {'reproducible' : 'weather-clear.png', 'FTBFS': 'weather-storm.png', -- cgit v1.2.3-70-g09d2