mirror of
https://github.com/openSUSE/osc.git
synced 2025-10-19 07:02:51 +02:00
- do_results: ignore _oldstate key when printing the results in csv format
This commit is contained in:
@@ -4256,7 +4256,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if opts.xml:
|
if opts.xml:
|
||||||
print ''.join(show_results_meta(*args)),
|
print ''.join(show_results_meta(*args)),
|
||||||
elif opts.csv:
|
elif opts.csv:
|
||||||
print '\n'.join(format_results(get_package_results(*args), opts.format))
|
# ignore _oldstate key
|
||||||
|
results = [r for r in get_package_results(*args) if not '_oldstate' in r]
|
||||||
|
print '\n'.join(format_results(results, opts.format))
|
||||||
else:
|
else:
|
||||||
args.append(opts.verbose)
|
args.append(opts.verbose)
|
||||||
args.append(opts.watch)
|
args.append(opts.watch)
|
||||||
|
Reference in New Issue
Block a user