1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-12 23:56:13 +01:00

warn only once for each unknown status in 'osc prjresults'

This commit is contained in:
Michal Marek 2008-04-18 11:37:19 +00:00
parent 61e2a77eb1
commit c4f7b89062

View File

@ -2580,6 +2580,7 @@ def get_prj_results(apiurl, prj, show_legend=False, csv=False):
print 'osc: warn: unknown status \'%s\'...' % status[pac][tg]
print 'please edit osc/core.py, and extend the buildstatus_symbols dictionary.'
st = '?'
buildstatus_symbols[status[pac][tg]] = '?'
line.append(st)
line.append(' ')
line.append(' %s %s' % tg)