1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-24 00:56:15 +01:00

Honor '-p' and '-P' parameters in request list command.

Fixes bnc#703586
This commit is contained in:
Sascha Peilicke 2011-07-07 10:12:57 +02:00
parent 4ea084761e
commit 93f87c9838

View File

@ -1878,6 +1878,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
package = store_read_package(os.curdir)
except oscerr.NoWorkingCopy:
pass
elif opts.project:
project = opts.project
if opts.package:
package = opts.package
if len(args) > 1:
package = args[1]