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

fix req_who (aka rq ls -M) of processed requests

This commit is contained in:
Adrian Schröter 2009-08-19 12:21:45 +00:00
parent 1e8d490ae2
commit 906972d5f0

View File

@ -2306,8 +2306,10 @@ def get_request_list(apiurl, project, package, req_who='', req_state=('new',), r
if len(m): match += "(" + m + ")"
m=''
if req_who:
if len(m): m += '%20or%20'
if len(m): m += '%20and%20'
m += 'state/@who=\'%s\'' % quote_plus(req_who)
m += '%20or%20'
m += 'history/@who=\'%s\'' % quote_plus(req_who)
if len(m):
if len(match): match += "%20and%20"
match += "(" + m + ")"