1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-06 15:43:39 +02:00

fix missing newline in osc r -v

This adds a newline after unresolvable:. So the
messages are now well printed.
This commit is contained in:
lethliel
2018-04-26 15:38:25 +02:00
parent cbd10644a2
commit b7ada2cb5b

View File

@@ -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']: