1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 17:26:15 +02:00
Return do_prjresults error code, if called from do_results.
This commit is contained in:
Marcus Huewe 2019-02-04 13:22:25 +01:00
commit 82a3742bdc

View File

@ -5203,8 +5203,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
opts.vertical = None
opts.show_non_building = None
opts.show_excluded = None
self.do_prjresults('prjresults', opts, *args)
return
return self.do_prjresults('prjresults', opts, *args)
if opts.xml and opts.csv:
raise oscerr.WrongOptions("--xml and --csv are mutual exclusive")
@ -6335,7 +6334,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if opts.preload:
opts.nopreinstallimage = True
print('Building %s for %s/%s' % (args[2], args[0], args[1]))
if not opts.host:
return osc.build.main(self.get_api_url(), opts, args)