diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-30 14:07:14 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-30 14:07:14 +0200 |
commit | 808a8eb28c202adf55b7b9c1faa15dd5b8b1613b (patch) | |
tree | d1161b159e1b410fdea6f091f299917922f328d9 /bin/reproducible_common.py | |
parent | 4ee8cc1ded42e0bcba2d79c8b2459c6bab29e1f1 (diff) | |
download | jenkins.debian.net-808a8eb28c202adf55b7b9c1faa15dd5b8b1613b.tar.xz |
reproducible: refactor
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 8 |
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: |