summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/reproducible_common.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 57a98fe4..7f340788 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -311,10 +311,9 @@ def _gen_links(suite, arch):
html += link[1].format(suite=suite, arch=arch) + '\n'
for i in SUITES: # suite links
html += '<li><a href="/' + i + '/index_suite_' + arch + '_stats.html">suite: ' + i + '</a></li>'
- if arch == 'amd64':
- html += '<li><a href="/unstable/index_suite_armhf_stats.html\">arch: armhf</a></li>'
- else:
- html += '<li><a href="/unstable/index_suite_amd64_stats.html\">arch: amd64</a></li>'
+ for linkarch in ARCHS:
+ if arch != linkarch:
+ html += '<li><a href="/unstable/index_suite_' + linkarch + '_stats.html\">arch: ' + arch + '</a></li>'
return html