1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-26 06:46:13 +01:00

- minor changes

This commit is contained in:
Marcus Huewe 2010-03-15 13:34:38 +01:00
parent 8c86d1fab3
commit 47beb996ff
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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'):