mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-22 18:22:12 +01:00
Add missing tags for maintainer/bugowner
This was missed in 9937cb9ddf98059bc3679348cc4b493967e7046b. Signed-off-by: Egbert Eich <eich@suse.de>
This commit is contained in:
parent
9937cb9ddf
commit
95cfc2b96c
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user