From 95cfc2b96cdbf65b2e9d67dabe4df132217d5210 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Wed, 22 Apr 2015 14:59:36 +0200 Subject: [PATCH] Add missing tags for maintainer/bugowner This was missed in 9937cb9ddf98059bc3679348cc4b493967e7046b. Signed-off-by: Egbert Eich --- osc/commandline.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osc/commandline.py b/osc/commandline.py index 20e6544e..4ee1963a 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -6761,10 +6761,10 @@ Please submit there instead, or use --nodevelproject to force direct submission. role_filter = '%s (%s)' % (search_term, search_type) role_filter_xpath = xpath if opts.bugowner and not opts.maintainer: - xpath = xpath_join(xpath, 'person/@role=\'bugowner\'', op='and') + xpath = xpath_join(xpath, '%s/@role=\'bugowner\'' % search_type, op='and') role_filter = 'bugowner' elif not opts.bugowner and opts.maintainer: - xpath = xpath_join(xpath, 'person/@role=\'maintainer\'', op='and') + xpath = xpath_join(xpath, '%s/@role=\'maintainer\'' % search_type, op='and') role_filter = 'maintainer' if opts.limit_to_attribute: xpath = xpath_join(xpath, 'attribute/@name=\'%s\'' % opts.limit_to_attribute, op='and')