mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-14 16:26:13 +01:00
warn only once for each unknown status in 'osc prjresults'
This commit is contained in:
parent
61e2a77eb1
commit
c4f7b89062
@ -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 'osc: warn: unknown status \'%s\'...' % status[pac][tg]
|
||||||
print 'please edit osc/core.py, and extend the buildstatus_symbols dictionary.'
|
print 'please edit osc/core.py, and extend the buildstatus_symbols dictionary.'
|
||||||
st = '?'
|
st = '?'
|
||||||
|
buildstatus_symbols[status[pac][tg]] = '?'
|
||||||
line.append(st)
|
line.append(st)
|
||||||
line.append(' ')
|
line.append(' ')
|
||||||
line.append(' %s %s' % tg)
|
line.append(' %s %s' % tg)
|
||||||
|
Loading…
Reference in New Issue
Block a user