1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-25 22:36:13 +01:00

Fix PEP validation error

This commit is contained in:
Marcos Bjoerkelund 2024-06-14 18:07:11 +02:00 committed by Daniel Mach
parent 60094ba692
commit 5b0fbc43b0

View File

@ -6124,7 +6124,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
else:
# csv formatting
if opts.format is None:
opts.format='%(repository)s|%(arch)s|%(state)s|%(dirty)s|%(code)s|%(details)s'
opts.format = '%(repository)s|%(arch)s|%(state)s|%(dirty)s|%(code)s|%(details)s'
results = [r for r, _ in result_xml_to_dicts(xml)]
print('\n'.join(format_results(results, opts.format)))
else: