summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-26 02:13:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-26 02:13:16 +0200
commitea4e95aaf16c4158cfac84510c380bdff3a8dc1c (patch)
tree0eb1f398c6b3c965065163e6b97d6eebc0ccb2fc
parentf3d5f4b012de517108fb4e1e8d8698121d13a1c3 (diff)
downloadjenkins.debian.net-ea4e95aaf16c4158cfac84510c380bdff3a8dc1c.tar.xz
reproducible: only link to suites that are tested on armhf (and two whitespace changes in the same function)
-rwxr-xr-xbin/reproducible_common.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 0fc45218..b6ba1675 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -271,11 +271,13 @@ def _gen_links(suite, arch):
continue
html += link[1].format(suite=suite, arch=arch) + '\n'
for i in SUITES: # suite links
- html += '<li><a href="/' + i +'">suite: ' + i + '</a></li>'
+ if arch == 'armhf' and i != 'unstable':
+ continue
+ html += '<li><a href="/' + i +'">suite: ' + i + '</a></li>'
if arch == 'amd64':
- html += '<li><a href="/unstable/index_suite_armhf_stats.html\">armhf</a></li>'
+ html += '<li><a href="/unstable/index_suite_armhf_stats.html\">armhf</a></li>'
else:
- html += '<li><a href="/unstable/index_suite_amd64_stats.html\">amd64</a></li>'
+ html += '<li><a href="/unstable/index_suite_amd64_stats.html\">amd64</a></li>'
return html