mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-24 11:12:14 +01:00
Merge pull request #1034 from andreas-schwab/master
Fix check for empty details
This commit is contained in:
commit
0a1d47d920
@ -5972,7 +5972,7 @@ def get_results(apiurl, project, package, verbose=False, printJoin='', *args, **
|
||||
if len(l) != 2 or l[1] not in multibuild_packages:
|
||||
continue
|
||||
res['status'] = res['code']
|
||||
if verbose and res['details'] != '':
|
||||
if verbose and res['details'] is not None:
|
||||
if res['code'] in ('unresolvable', 'expansion error'):
|
||||
lines = res['details'].split(',')
|
||||
res['status'] += ': \n ' + '\n '.join(lines)
|
||||
|
Loading…
x
Reference in New Issue
Block a user