mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 23:53:39 +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:
|
||||
print ''.join(show_results_meta(*args)),
|
||||
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:
|
||||
args.append(opts.verbose)
|
||||
args.append(opts.watch)
|
||||
|
Reference in New Issue
Block a user