mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
- oops r7028 broke "osc search"
This commit is contained in:
parent
609e8f97b1
commit
16f99519ed
@ -2386,14 +2386,14 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if opts.involved:
|
if opts.involved:
|
||||||
search_list = [ 'person/@userid' ]
|
search_list = [ 'person/@userid' ]
|
||||||
search_term = search_term or conf.get_apiurl_usr(conf.config['apiurl'])
|
search_term = search_term or conf.get_apiurl_usr(conf.config['apiurl'])
|
||||||
opts.enable_exact = True
|
opts.exact = True
|
||||||
|
|
||||||
if not search_list:
|
if not search_list:
|
||||||
search_list = ['title', 'description', '@name']
|
search_list = ['title', 'description', '@name']
|
||||||
if not search_for:
|
if not search_for:
|
||||||
search_for = [ 'project', 'package' ]
|
search_for = [ 'project', 'package' ]
|
||||||
for kind in search_for:
|
for kind in search_for:
|
||||||
result = search(conf.config['apiurl'], set(search_list), kind, search_term, opts.verbose, opts.enable_exact, opts.repos_baseurl)
|
result = search(conf.config['apiurl'], set(search_list), kind, search_term, opts.verbose, opts.exact, opts.repos_baseurl)
|
||||||
if result:
|
if result:
|
||||||
if kind == 'package':
|
if kind == 'package':
|
||||||
headline = [ '# Package', '# Project' ]
|
headline = [ '# Package', '# Project' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user