summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-27 14:16:34 +0000
committerHolger Levsen <holger@layer-acht.org>2015-07-04 11:51:17 +0200
commitccb1732c5d9d42dce2ae684e1a173e0d0f57d976 (patch)
tree381f4aa30b3e7e224d670bbcb82c650b9630b3c1
parentb3c9c63cfa0998420612ea4b1f914c2d9465c40f (diff)
downloadjenkins.debian.net-ccb1732c5d9d42dce2ae684e1a173e0d0f57d976.tar.xz
reproducible: common: get_trailing_bug_icon(): do not create creepy html when the bug is not patched or already done
-rwxr-xr-xbin/reproducible_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py
index 963bdf98..e2b4d2c6 100755
--- a/bin/reproducible_common.py
+++ b/bin/reproducible_common.py
@@ -541,6 +541,8 @@ def get_trailing_bug_icon(bug, bugs, package=None):
html += 'bug-done" title="#' + str(bug) + ', done">#'
elif bugs[package][bug]['patch']:
html += 'bug-patch" title="#' + str(bug) + ', with patch">+'
+ else:
+ html += 'bug">'
html += '</span>'
except KeyError:
pass