1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-23 05:26:16 +01:00

replace sys.exit(0) to avoid backtrace

This commit is contained in:
Ludwig Nussel 2014-02-27 08:39:54 +01:00
parent d92098a864
commit 955c46495b

View File

@ -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")