mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-26 06:46:13 +01:00
- minor changes
This commit is contained in:
parent
8c86d1fab3
commit
47beb996ff
@ -1044,7 +1044,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
@cmdln.option('--exclude-target-project', action='append',
|
||||
help='exclude target project from request list')
|
||||
@cmdln.option('--involved-projects', action='store_true',
|
||||
help='show all requests for project/packages where USER is involved in')
|
||||
help='show all requests for project/packages where USER is involved')
|
||||
@cmdln.alias("rq")
|
||||
@cmdln.alias("review")
|
||||
def do_request(self, subcmd, opts, *args):
|
||||
|
@ -2653,7 +2653,7 @@ def get_user_projpkgs_request_list(apiurl, user, req_state=('new',), req_type=No
|
||||
xp = ''
|
||||
for state in req_state:
|
||||
xp = xpath_join(xp, 'state/@name=\'%s\'' % state, inner=True)
|
||||
xpath = xpath_join("(%s)" % xp, "(%s)" % xpath, op='and')
|
||||
xpath = xpath_join(xp, '(%s)' % xpath, op='and')
|
||||
res = search(apiurl, request=xpath)
|
||||
result = []
|
||||
for root in res['request'].findall('request'):
|
||||
|
Loading…
Reference in New Issue
Block a user