mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
do only ask to revoke sr if existing one contains a 'submit' type
This commit is contained in:
parent
d6a8ac3fbb
commit
16d56fb2c4
@ -565,7 +565,7 @@ of the package %s primarily takes place.
|
||||
Please submit there instead, or use --nodevelproject to force direct submission.""" \
|
||||
% (devloc, dst_package)
|
||||
sys.exit(1)
|
||||
reqs = get_request_list(apiurl, dst_project, dst_package)
|
||||
reqs = get_request_list(apiurl, dst_project, dst_package, 'submit')
|
||||
user = conf.get_apiurl_usr(apiurl)
|
||||
myreqs = [ i for i in reqs if i.state.who == user ]
|
||||
repl = ''
|
||||
|
Loading…
Reference in New Issue
Block a user