summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-30 14:07:14 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-30 14:07:14 +0200
commit808a8eb28c202adf55b7b9c1faa15dd5b8b1613b (patch)
treed1161b159e1b410fdea6f091f299917922f328d9 /bin/reproducible_common.py
parent4ee8cc1ded42e0bcba2d79c8b2459c6bab29e1f1 (diff)
downloadjenkins.debian.net-808a8eb28c202adf55b7b9c1faa15dd5b8b1613b.tar.xz
reproducible: refactor
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index b4d56223..31ad7338 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -674,12 +674,8 @@ class Build:
return # suite/arch, or none at all
self.status = str(result[0])
self.version = str(result[1])
- # this is currently used only on rb-pkg pages, no need to have
- if result[2]: # parsable timestamps and the like
- self.build_date = 'at ' + str(result[2]) + ' UTC'
- else:
- self.build_date = \
- '<span style="color:red;font-weight:bold;">UNTESTED</span>'
+ if result[2]:
+ self.build_date = str(result[2]) + ' UTC'
class Package: