summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-09-22 16:38:12 +0200
committerHolger Levsen <holger@layer-acht.org>2015-09-22 16:38:12 +0200
commit04ff41f2995bba2e3556a83e7b51787106268fb3 (patch)
tree0d1735edcfc559a651af9062e35df2e507fa3086
parentc64e86a7772aef878f091fcefbeed68270c1edc9 (diff)
downloadjenkins.debian.net-04ff41f2995bba2e3556a83e7b51787106268fb3.tar.xz
reproducible: return empty string for duration instead of 'None'
-rwxr-xr-xbin/reproducible_html_live_status.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_html_live_status.py b/bin/reproducible_html_live_status.py
index a1dea9e0..e1a3d8c2 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)