[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: live_status: fix a TypeError

Holger Levsen holger at moszumanska.debian.org
Thu Dec 10 00:22:25 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit dd07fa044762e915e0adf965568ac87f65d22bcb
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Thu Dec 10 00:21:31 2015 +0000

    reproducible: live_status: fix a TypeError
---
 bin/reproducible_html_live_status.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index 49ab803..78187be 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -69,7 +69,7 @@ def generate_live_status_table(arch):
     for row in rows:
         counter += 1
         if counter > builders:
-             html += '<tr><td colspan="10">There are more builds marked as currently building in the database (' + counter + ') than there are ' + arch + ' build jobs (' + builders + '). This does not compute, please investigate and fix the cause.</td></tr>'
+             html += '<tr><td colspan="10">There are more builds marked as currently building in the database (' + str(counter) + ') than there are ' + arch + ' build jobs (' + str(builders) + '). This does not compute, please investigate and fix the cause.</td></tr>'
         elif builders == 0:
              html += '<tr><td colspan="10">0 build jobs for ' + arch + ' detected. This does not compute, please investigate and fix the cause.</td></tr>'
         suite = row[1]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list