diff options
Diffstat (limited to 'bin/reproducible_common.py')
-rwxr-xr-x | bin/reproducible_common.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bin/reproducible_common.py b/bin/reproducible_common.py index f3251553..f621beaa 100755 --- a/bin/reproducible_common.py +++ b/bin/reproducible_common.py @@ -426,7 +426,7 @@ def link_packages(packages, suite, arch): return html -def join_status_icon(status, package=None, version=None): +def get_status_icon(status): table = {'reproducible' : 'weather-clear.png', 'FTBFS': 'weather-storm.png', 'FTBR' : 'weather-showers-scattered.png', @@ -440,13 +440,10 @@ def join_status_icon(status, package=None, version=None): status = 'FTBR' elif status == 'not for us': status = 'not_for_us' - log.debug('Linking status ⇔ icon. package: ' + str(package) + ' @ ' + - str(version) + ' status: ' + status) try: return (status, table[status]) except KeyError: - log.error('Status of package ' + package + ' (' + status + - ') not recognized') + log.error('Status ' + status + ' not recognized') return (status, '') def strip_epoch(version): |