From c5a7d266fb07ad0e5569992396daee41badba794 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sat, 17 Dec 2016 01:06:18 +0100 Subject: [PATCH] Respect repository and arch arguments in restartbuild --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 536008ba..9a540710 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6573,7 +6573,7 @@ Please submit there instead, or use --nodevelproject to force direct submission. if not (opts.all or package or repo or arch): raise oscerr.WrongOptions('No option has been provided. If you want to restart all packages of the entire project, use --all option.') - print(cmdbuild(apiurl, subcmd, project, package, opts.arch, opts.repo)) + print(cmdbuild(apiurl, subcmd, project, package, arch, repo)) @cmdln.option('-a', '--arch', metavar='ARCH',