1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-30 19:56:14 +01:00

- fixed get_request_list() call

This commit is contained in:
Marcus Hüwe 2009-09-24 14:14:11 +00:00
parent 3cfe9db980
commit 4e30d9f946

View File

@ -633,7 +633,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
src_project, src_package, None, True) src_project, src_package, None, True)
print rdiff print rdiff
else: else:
reqs = get_request_list(apiurl, dst_project, dst_package, 'submit') reqs = get_request_list(apiurl, dst_project, dst_package, req_type='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 = ''