From 7a838542de6e9b180b23c4ad90b77c92099a6633 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 12 Sep 2015 18:12:12 +0200 Subject: reproducible: noone expected this was a bad idea --- bin/reproducible_html_live_status.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py index efb3c13f..e3faa5b9 100755 --- a/bin/reproducible_html_live_status.py +++ b/bin/reproducible_html_live_status.py @@ -74,8 +74,8 @@ def generate_live_status_table(arch): counter = 0 for row in rows: counter += 1 - # the numbers 16 and 7 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here... - if ( arch == 'amd64' and counter == 16 ) or ( arch == 'armhf' and counter == 7 ): + # the numbers 13 and 7 should really be derived from /var/lib/jenkins/jobs/reproducible_builder_${arch}_* instead of being hard-coded here... + if ( arch == 'amd64' and counter == 13 ) or ( arch == 'armhf' and counter == 7 ): html += 'There are more builds marked as currently building in the database than there are ' + arch + ' build jobs. This does not compute. Please cleanup and please automate cleanup.' suite = row[1] arch = row[2] -- cgit v1.2.3-54-g00ecf