mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 22:56:15 +01:00
Merge pull request #1329 from dmach/req_states-review-list
Change 'review list' command to display open requests (state: new, review, declined)
This commit is contained in:
commit
45ad7349ee
@ -3254,7 +3254,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if subcmd == 'review':
|
if subcmd == 'review':
|
||||||
# FIXME: do the review list for the user and for all groups he belong to
|
# FIXME: do the review list for the user and for all groups he belong to
|
||||||
results = get_review_list(apiurl, project, package, who, opts.group, opts.project, opts.package, state_list,
|
results = get_review_list(apiurl, project, package, who, opts.group, opts.project, opts.package, state_list,
|
||||||
opts.type)
|
opts.type, req_states=("new", "review", "declined"))
|
||||||
else:
|
else:
|
||||||
if opts.involved_projects:
|
if opts.involved_projects:
|
||||||
who = who or conf.get_apiurl_usr(apiurl)
|
who = who or conf.get_apiurl_usr(apiurl)
|
||||||
|
Loading…
Reference in New Issue
Block a user