From 906972d5f04f3b2c00da26c3b29cf15cdc038cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 19 Aug 2009 12:21:45 +0000 Subject: [PATCH] fix req_who (aka rq ls -M) of processed requests --- osc/core.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 2eed11b4..eac57ea4 100755 --- a/osc/core.py +++ b/osc/core.py @@ -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 + ")"