From bede808271a20eb9c587d76fe5acb19db7495399 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 15 Dec 2011 15:50:11 +0100 Subject: [PATCH] - offer to supersede requests in declined state on creating a new submit request --- osc/commandline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/commandline.py b/osc/commandline.py index 8807e870..306c2d43 100644 --- a/osc/commandline.py +++ b/osc/commandline.py @@ -1082,7 +1082,7 @@ 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', req_state=['new','review']) + reqs = get_request_list(apiurl, dst_project, dst_package, req_type='submit', req_state=['new','review', 'declined']) user = conf.get_apiurl_usr(apiurl) myreqs = [ i for i in reqs if i.state.who == user ] repl = ''