diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-21 23:18:23 +0200 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-04-21 23:18:23 +0200 |
commit | ccbdbcb1b50f96c3a623093402c368cfa8110fc7 (patch) | |
tree | c7567269d176d4d83b1cbf44723149ad0ccbdfb4 /bin | |
parent | 74e376e81174ee0476dfa6e1fcb018a9539d11fd (diff) | |
download | jenkins.debian.net-ccbdbcb1b50f96c3a623093402c368cfa8110fc7.tar.xz |
reproducible: common.py: add a link_packages() function, exact plural of link_package()
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/reproducible_common.py | 8 |
1 files changed, 8 insertions, 0 deletions
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', |