From 90325e90f46316938dfb1b1b8d8b3210e259dd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 9 Nov 2010 16:08:26 +0100 Subject: [PATCH] fix URL syntax when requesting request list via reviewers --- osc/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/core.py b/osc/core.py index 22ad8b03..eed252a5 100644 --- a/osc/core.py +++ b/osc/core.py @@ -3328,9 +3328,9 @@ def get_review_list(apiurl, project='', package='', user='', group='', states=(' for state in states: xpath = xpath_join(xpath, 'review/@state=\'%s\'' % state, inner=True) if user: - xpath = xpath_join(xpath, 'review/@by_user=\'%s\'\'' % user, op='and') + xpath = xpath_join(xpath, 'review/@by_user=\'%s\'' % user, op='and') if group: - xpath = xpath_join(xpath, 'review/@by_group=\'%s\'\'' % group, op='and') + xpath = xpath_join(xpath, 'review/@by_group=\'%s\'' % group, op='and') # XXX: we cannot use the '|' in the xpath expression because it is not supported # in the backend