mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-28 23:46:13 +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.""" \
|
Please submit there instead, or use --nodevelproject to force direct submission.""" \
|
||||||
% (devloc, dst_package)
|
% (devloc, dst_package)
|
||||||
sys.exit(1)
|
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)
|
user = conf.get_apiurl_usr(apiurl)
|
||||||
myreqs = [ i for i in reqs if i.state.who == user ]
|
myreqs = [ i for i in reqs if i.state.who == user ]
|
||||||
repl = ''
|
repl = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user