From ccb1732c5d9d42dce2ae684e1a173e0d0f57d976 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sat, 27 Jun 2015 14:16:34 +0000 Subject: reproducible: common: get_trailing_bug_icon(): do not create creepy html when the bug is not patched or already done --- bin/reproducible_common.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') 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 += '' except KeyError: pass -- cgit v1.2.3-70-g09d2