mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 19:52:12 +01:00
Merge branch 'fix_newline_in_verbose' of https://github.com/lethliel/osc
Print each unresolvable on a separate line.
This commit is contained in:
commit
88274c92ed
@ -5704,7 +5704,7 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
|
||||
if verbose and res['details'] != '':
|
||||
if res['code'] in ('unresolvable', 'expansion error'):
|
||||
lines = res['details'].split(',')
|
||||
res['status'] += ': ' + '\n '.join(lines)
|
||||
res['status'] += ': \n ' + '\n '.join(lines)
|
||||
else:
|
||||
res['status'] += ': %s' % res['details']
|
||||
elif res['code'] in ('scheduled', ) and res['details']:
|
||||
|
Loading…
x
Reference in New Issue
Block a user