mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
Fix "osc results --xml..."
For now, "osc results --xml..." ignores the "--show-excluded" option (that's what we did in the past). Fixes: PR#297 ("results --xml causes a stack trace")
This commit is contained in:
parent
2b7cef3b33
commit
900ee88bfa
@ -5053,6 +5053,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
if not opts.no_multibuild:
|
||||
kwargs['multibuild'] = kwargs['locallink'] = True
|
||||
if opts.xml or opts.csv:
|
||||
# hmm should we filter excluded repos here as well?
|
||||
# for now, ignore --show-excluded
|
||||
del kwargs['showexcl']
|
||||
for xml in get_package_results(**kwargs):
|
||||
if opts.xml:
|
||||
print(xml, end='')
|
||||
|
Loading…
Reference in New Issue
Block a user