[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: return empty string for duration instead of 'None'

Holger Levsen holger at moszumanska.debian.org
Tue Sep 22 14:38:26 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 04ff41f2995bba2e3556a83e7b51787106268fb3
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 22 16:38:12 2015 +0200

    reproducible: return empty string for duration instead of 'None'
---
 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 a1dea9e..e1a3d8c 100755
--- a/bin/reproducible_html_live_status.py
+++ b/bin/reproducible_html_live_status.py
@@ -13,7 +13,7 @@ from reproducible_html_indexes import build_leading_text_section
 
 def convert_into_hms_string(duration):
     if not duration:
-        duration = "None"
+        duration = ''
     else:
         duration = int(duration)
         hours = int(duration/3600)

-- 
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