From 5af3ac58de7bc50dc8d8510bcc58776f7b38a00d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 9 Dec 2010 08:25:29 +0100 Subject: [PATCH] offer also to supersed requests in review state (Bug #658479) --- osc/commandline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 099a263b..6b2ab3da 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -964,7 +964,8 @@ Please submit there instead, or use --nodevelproject to force direct submission. return # Are there already requests to this package ? - reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit') + reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', req_state='new') + reqs += get_request_list(apiurl, dst_project, dst_package, req_type='submit', req_state='review') user = conf.get_apiurl_usr(apiurl) myreqs = [ i for i in reqs if i.state.who == user ] repl = ''