summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_common.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-10-04 01:43:06 +0200
committerHolger Levsen <holger@layer-acht.org>2015-10-04 01:43:06 +0200
commitf4c68f1d927c2aabaf73014b02c81f2067161628 (patch)
treee7d6cca7ed9e38a836478d00e54634fed855ce73 /bin/reproducible_common.py
parentee9848202ab712d32bc9f9dbd1f7d10497a56987 (diff)
downloadjenkins.debian.net-f4c68f1d927c2aabaf73014b02c81f2067161628.tar.xz
reproducible: refactor and fix status icons for all stati
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-xbin/reproducible_common.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index f621beaa..fcb35f02 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -436,15 +436,16 @@ def get_status_icon(status):
'not_for_us': 'weather-few-clouds-night.png',
'untested': 'weather-clear-night.png',
'blacklisted': 'error.png'}
+ spokenstatus = status
if status == 'unreproducible':
status = 'FTBR'
elif status == 'not for us':
status = 'not_for_us'
try:
- return (status, table[status])
+ return (status, table[status], spokenstatus)
except KeyError:
log.error('Status ' + status + ' not recognized')
- return (status, '')
+ return (status, '', spokenstatus)
def strip_epoch(version):
"""