1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-28 10:46:15 +01:00

can it be that hard ...

This commit is contained in:
Adrian Schröter 2009-08-07 07:51:00 +00:00
parent e199ab3a09
commit 2f7070ae96

View File

@ -2309,7 +2309,9 @@ def get_request_list(apiurl, project, package, req_who='', req_state=('new',), r
if req_who: if req_who:
if len(m): m += '%20or%20' if len(m): m += '%20or%20'
m += 'state/@who=\'%s\'' % quote_plus(req_who) m += 'state/@who=\'%s\'' % quote_plus(req_who)
if len(m): match += "%20and%20(" + m + ")" if len(m):
if len(match): match += "%20and%20"
match += "(" + m + ")"
# XXX: we cannot use the '|' in the xpath expression because it is not supported # XXX: we cannot use the '|' in the xpath expression because it is not supported
# in the backend # in the backend