mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-23 13:31:48 +01:00
replace sys.exit(0) to avoid backtrace
This commit is contained in:
parent
d92098a864
commit
955c46495b
@ -4730,7 +4730,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
opts.show_non_building = None
|
opts.show_non_building = None
|
||||||
opts.show_excluded = None
|
opts.show_excluded = None
|
||||||
self.do_prjresults('prjresults', opts, *args)
|
self.do_prjresults('prjresults', opts, *args)
|
||||||
sys.exit(0)
|
return
|
||||||
|
|
||||||
if opts.xml and opts.csv:
|
if opts.xml and opts.csv:
|
||||||
raise oscerr.WrongOptions("--xml and --csv are mutual exclusive")
|
raise oscerr.WrongOptions("--xml and --csv are mutual exclusive")
|
||||||
|
Loading…
Reference in New Issue
Block a user