1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-09-07 13:48:43 +02:00

Merge pull request #1034 from andreas-schwab/master

Fix check for empty details
This commit is contained in:
2022-06-02 13:31:00 +02:00
committed by GitHub

View File

@@ -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)