mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-02 09:46:16 +01:00
Wrong parameter fix patch by Markus Rückert.
This commit is contained in:
parent
9d167a7eab
commit
67cd6582b5
@ -964,7 +964,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
return
|
return
|
||||||
|
|
||||||
# Are there already requests to this package ?
|
# Are there already requests to this package ?
|
||||||
reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', ['new','review'])
|
reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', req_state=['new','review'])
|
||||||
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 = ''
|
||||||
@ -1165,7 +1165,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
if opts.diff:
|
if opts.diff:
|
||||||
run_pager(rdiff)
|
run_pager(rdiff)
|
||||||
else:
|
else:
|
||||||
reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', ['new','review'])
|
reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', req_state=['new','review'])
|
||||||
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