1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 14:56:14 +01:00

Fix "osc results --csv ..."

Follow-up fix for commit 665d2bda72.
Fixes https://github.com/openSUSE/open-build-service/issues/2548
This commit is contained in:
Marcus Huewe 2017-01-12 15:33:26 +01:00
parent 4893049312
commit 4c39b63162

View File

@ -5049,7 +5049,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
print(xml, end='')
else:
# csv formatting
results = result_xml_to_dicts(xml)
results = [r for r, _ in result_xml_to_dicts(xml)]
print('\n'.join(format_results(results, opts.format)))
else:
kwargs['verbose'] = opts.verbose