1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-25 17:36:13 +01:00

Change 'review list' command to display open requests (state: new, review, declined)

The original behavior was that only requests in the 'review' state
were displayed.
This commit is contained in:
Daniel Mach 2023-05-19 21:51:25 +02:00
parent 7c085b18d5
commit 64c0cc6a5a

View File

@ -3254,7 +3254,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
if subcmd == 'review':
# 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,
opts.type)
opts.type, req_states=("new", "review", "declined"))
else:
if opts.involved_projects:
who = who or conf.get_apiurl_usr(apiurl)