mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 08:56:13 +01:00
Change get_request_collection() not to list declined requests by default
This commit is contained in:
parent
54e873605d
commit
9073b1a1d2
@ -4429,7 +4429,7 @@ def get_review_list(apiurl, project='', package='', byuser='', bygroup='', bypro
|
||||
# this function uses the logic in the api which is faster and more exact then the xpath search
|
||||
|
||||
|
||||
def get_request_collection(apiurl, role=None, req_who=None, req_states=('new', 'review', 'declined')):
|
||||
def get_request_collection(apiurl, role=None, req_who=None, req_states=('new', 'review')):
|
||||
|
||||
query = {"view": "collection"}
|
||||
if role:
|
||||
@ -7530,7 +7530,7 @@ def get_commit_msg(wc_dir, pacs):
|
||||
return msg
|
||||
|
||||
|
||||
def print_request_list(apiurl, project, package=None, states=('new', 'review', ), force=False):
|
||||
def print_request_list(apiurl, project, package=None, states=('new', 'review'), force=False):
|
||||
"""
|
||||
prints list of pending requests for the specified project/package if "check_for_request_on_action"
|
||||
is enabled in the config or if "force" is set to True
|
||||
|
Loading…
Reference in New Issue
Block a user