mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-01 04:36:13 +01:00
Merge branch 'broken_prj_maintainer' of https://github.com/lethliel/osc
"osc maintainer foo" performs a binary maintainer lookup first. If no results were found, it aborted. Instead it should do a project maintainer lookup in the no results case, because the cmd's syntax is ambiguous...
This commit is contained in:
commit
e3af61b5b6
@ -7938,9 +7938,6 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
repl = raw_input('\nUse this container? (y/n) ')
|
repl = raw_input('\nUse this container? (y/n) ')
|
||||||
if repl.lower() != 'y':
|
if repl.lower() != 'y':
|
||||||
searchresult = None
|
searchresult = None
|
||||||
else:
|
|
||||||
print("Empty search result, you may want to search with other or all roles via -r ''")
|
|
||||||
return
|
|
||||||
elif opts.user:
|
elif opts.user:
|
||||||
searchresult = owner(apiurl, opts.user, "user", usefilter=filterroles, devel=None)
|
searchresult = owner(apiurl, opts.user, "user", usefilter=filterroles, devel=None)
|
||||||
elif opts.group:
|
elif opts.group:
|
||||||
|
Loading…
Reference in New Issue
Block a user