1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-28 17:04:11 +02:00

highlight scheduled jobs with dispatch problems (due to constraints)

This commit is contained in:
2016-10-20 12:58:50 +02:00
parent 4e8f06d3b9
commit 8c3f5e9ae2
2 changed files with 4 additions and 1 deletions

View File

@@ -5500,6 +5500,9 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
res['status'] += ': ' + '\n '.join(lines)
else:
res['status'] += ': %s' % res['details']
elif res['code'] in ('scheduled', ) and res['details']:
# highlight scheduled jobs with possible dispatch problems
res['status'] += '*'
if res['dirty']:
if verbose:
res['status'] = 'outdated (was: %s)' % res['status']